Using your code found here https://github.com/Wikitude/wikitude-sdk-samples and selecting Mutliple POIs it crashes. We noted the same error message in our apps and currently an Enterprise customer with working iOS apps but non of our Android Apps work. :-(
We tried this on Titanium SDK 5.1.0, 5.1.1, 5.1.2GA to no avail on Android only iOS works.
Below is output. Regardless of the example this error message seems persistant. Again this is using your example code
V8Object: (KrollRuntimeThread) Runtime disposed, cannot set property 'userAgent'
dalvikvm: Could not find method android.app.Activity.checkSelfPermission, referenced from method ti.modules.titanium.media.MediaModule.hasCameraPermission
dalvikvm: VFY: unable to resolve virtual method 27: Landroid/app/Activity;.checkSelfPermission (Ljava/lang/String;)I
dalvikvm: VFY: replacing opcode 0x6e at 0x0012
dalvikvm: Could not find method android.app.Activity.checkSelfPermission, referenced from method ti.modules.titanium.media.MediaModule.hasStoragePermission
dalvikvm: VFY: unable to resolve virtual method 27: Landroid/app/Activity;.checkSelfPermission (Ljava/lang/String;)I
dalvikvm: VFY: replacing opcode 0x6e at 0x0012
dalvikvm: Could not find method android.app.Activity.checkSelfPermission, referenced from method ti.modules.titanium.media.MediaModule.hasCameraPermissions
dalvikvm: VFY: unable to resolve virtual method 27: Landroid/app/Activity;.checkSelfPermission (Ljava/lang/String;)I
dalvikvm: VFY: replacing opcode 0x6e at 0x0012
dalvikvm: Could not find method android.app.Activity.requestPermissions, referenced from method ti.modules.titanium.media.MediaModule.requestCameraPermissions
dalvikvm: VFY: unable to resolve virtual method 78: Landroid/app/Activity;.requestPermissions (
A
Andreas Schacherbauer
said
over 7 years ago
Hi Will, It looks like an Android 6 runtime permission error. Are you experience this type of error on Android 6.x devices? If so, please use the available function from Titanium to request Android 6 runtime permissions for location, camera and, depending on your use case, local storage.
Best regards
Andreas
C
Candace Summerall
said
over 7 years ago
No change. I addded all entries to the manifest for Android for permisssions and even inside the applicaiton I added checks to validate permission was granted and on app info page it shows we have permission for Internet, Camera, External Storage, etc.
Please kindly update your GitHub example project to a working state. Since we have no access to your source code we can not troubleshoot any further.
C
Candace Summerall
said
over 7 years ago
I am adding here a movie of sample code not working and also showing that all permissions are in place on the Android device running 4.4.2.. This was built using Titanium SDK 5.1.2.GA with Android SDK 6 (23).
Candace Summerall