I am using theWikitude Epson SDK 4.0.3 with Android Studio and trying to follow the setup Guide. When I paste the following code into my MainActivity.java I get a build error saying the symbol StartupConfiguration cant be found. The application builds fine before I paste the lincense code in. I declared a varible above "private ArchitectView architectView;". Any suggestons would be greatly appreciated! Thank you.
This is the license code causing the build problems:
/* pass SDK key if you have one, this one is only valid for this package identifier and must not be used somewhere else */
final ArchitectConfig config = new ArchitectConfig( this.getWikitudeSDKLicenseKey() );
/* first mandatory life-cycle notification */
this.architectView.onCreate( config );
Also we are currently working on releasing our new epson sdk soon so keep in touch for new updates!
almost 6 years ago
Eva, Thank you for getting back to me. I implemented the sugessted code and looked at the AbstractArchitectCamActivity.java. I am trying to pass the license key into getWikitudeSDKLicenseKey() as a string, but the the method is cannot be found. I am also getting an error for .getArchitectViewId() . Below is my code for MainActivity.java. I apprciate your assistance with this matter.