Start a new topic

Error while Installing Flutter App on Android with Wikitude Flutter SDK

Hi Wikitude team,


I was trying to run the Flutter app with Wikitude AR SDK on Android device but it got error and don't know what to do with, can you guys please help?


Thanks in advance.


Here is the error log:


Launching lib\main.dart on Redmi 4X in debug mode...

  1. Initializing gradle...

Resolving dependencies...

Running Gradle task 'assembleDebug'...

Built build\app\outputs\apk\debug\app-debug.apk.

Syncing files to device Redmi 4X...

W/ResourceType( 2988): No package identifier when getting name for resource number 0x00000000

D/ApplicationLoaders( 2988): ignored Vulkan layer search path /data/app/com.android.chrome-2/lib/arm64:/data/app/com.android.chrome-2/base.apk!/lib/arm64-v8a:/data/app/com.android.chrome-2/split_autofill_assistant.apk!/lib/arm64-v8a:/data/app/com.android.chrome-2/split_autofill_assistant.config.en.apk!/lib/arm64-v8a:/data/app/com.android.chrome-2/split_config.en.apk!/lib/arm64-v8a for namespace 0x7fb4bc0160

W/ResourceType( 2988): No package identifier when getting name for resource number 0x00000000

W/ResourceType( 2988): Found multiple library tables, ignoring...

I/WebViewFactory( 2988): Loading com.android.chrome version 77.0.3865.92 (code 386509237)

I/art ( 2988): Rejecting re-init on previously-failed class java.lang.Class<Mk>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/TracingController;

I/art ( 2988): at java.lang.Class java.lang.Class.classForName!(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2)

I/art ( 2988): at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:400)

I/art ( 2988): at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:349)

I/art ( 2988): at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:194)

I/art ( 2988): at android.webkit.WebViewFactoryProvider android.webkit.WebView.getFactory() (WebView.java:2347)

I/art ( 2988): at void android.webkit.WebView.setWebContentsDebuggingEnabled(boolean) (WebView.java:1965)

I/art ( 2988): at void com.wikitude.wikitude_plugin.ArchitectWidget.<init>(android.content.Context, io.flutter.plugin.common.PluginRegistry$Registrar, int, java.lang.Object) (ArchitectWidget.java:81)

I/art ( 2988): at io.flutter.plugin.platform.PlatformView com.wikitude.wikitude_plugin.ArchitectFactory.create(android.content.Context, int, java.lang.Object) (ArchitectFactory.java:27)

I/art ( 2988): at void io.flutter.plugin.platform.SingleViewPresentation.onCreate(android.os.Bundle) (SingleViewPresentation.java:158)

I/art ( 2988): at void android.app.Dialog.dispatchOnCreate(android.os.Bundle) (Dialog.java:402)

I/art ( 2988): at void android.app.Dialog.show() (Dialog.java:301)

I/art ( 2988): at void android.app.Presentation.show() (Presentation.java:235)

I/art ( 2988): at void io.flutter.plugin.platform.VirtualDisplayController.<init>(android.content.Context, io.flutter.plugin.platform.AccessibilityEventsDelegate, android.hardware.display.VirtualDisplay, io.flutter.plugin.platform.PlatformViewFactory, android.view.Surface, io.flutter.view.TextureRegistry$SurfaceTextureEntry, android.view.View$OnFocusChangeListener, int, java.lang.Object) (VirtualDisplayController.java:92)

I/art ( 2988): at io.flutter.plugin.platform.VirtualDisplayController io.flutter.plugin.platform.VirtualDisplayController.create(android.content.Context, io.flutter.plugin.platform.AccessibilityEventsDelegate, io.flutter.plugin.platform.PlatformViewFactory, io.flutter.view.TextureRegistry$SurfaceTextureEntry, int, int, int, java.lang.Object, android.view.View$OnFocusChangeListener) (VirtualDisplayController.java:52)

I/art ( 2988): at long io.flutter.plugin.platform.PlatformViewsController$1.createPlatformView(io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$PlatformViewCreationRequest) (PlatformViewsController.java:97)

I/art ( 2988): at void io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (PlatformViewsChannel.java:87)

I/art ( 2988): at void io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (PlatformViewsChannel.java:51)

I/art ( 2988): at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:222)

I/art ( 2988): at void io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(java.lang.String, byte[], int) (DartMessenger.java:96)

I/art ( 2988): at void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:656)

I/art ( 2988): at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2)

I/art ( 2988): at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:323)

I/art ( 2988): at void android.os.Looper.loop() (Looper.java:142)

I/art ( 2988): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6238)

I/art ( 2988): at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)

I/art ( 2988): at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:933)

I/art ( 2988): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:823)

I/art ( 2988): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.TracingController" on path: DexPathList[[zip file "/data/app/com.android.chrome-2/base.apk", zip file "/data/app/com.android.chrome-2/split_autofill_assistant.apk", zip file "/data/app/com.android.chrome-2/split_autofill_assistant.config.en.apk", zip file "/data/app/com.android.chrome-2/split_config.en.apk"],nativeLibraryDirectories=[/data/app/com.android.chrome-2/lib/arm64, /data/app/com.android.chrome-2/base.apk!/lib/arm64-v8a, /data/app/com.android.chrome-2/split_autofill_assistant.apk!/lib/arm64-v8a, /data/app/com.android.chrome-2/split_autofill_assistant.config.en.apk!/lib/arm64-v8a, /data/app/com.android.chrome-2/split_config.en.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]

I/art ( 2988): at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)

I/art ( 2988): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:380)

I/art ( 2988): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)

I/art ( 2988): at java.lang.Class java.lang.Class.classForName!(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2)

I/art ( 2988): at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:400)

I/art ( 2988): at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:349)

I/art ( 2988): at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:194)

I/art ( 2988): at android.webkit.WebViewFactoryProvider android.webkit.WebView.getFactory() (WebView.java:2347)

I/art ( 2988): at void android.webkit.WebView.setWebContentsDebuggingEnabled(boolean) (WebView.java:1965)

I/art ( 2988): at void com.wikitude.wikitude_plugin.ArchitectWidget.<init>(android.content.Context, io.flutter.plugin.common.PluginRegistry$Registrar, int, java.lang.Object) (ArchitectWidget.java:81)

I/art ( 2988): at io.flutter.plugin.platform.PlatformView com.wikitude.wikitude_plugin.ArchitectFactory.create(android.content.Context, int, java.lang.Object) (ArchitectFactory.java:27)

I/art ( 2988): at void io.flutter.plugin.platform.SingleViewPresentation.onCreate(android.os.Bundle) (SingleViewPresentation.java:158)

I/art ( 2988): at void android.app.Dialog.dispatchOnCreate(android.os.Bundle) (Dialog.java:402)

I/art ( 2988): at void android.app.Dialog.show() (Dialog.java:301)

I/art ( 2988): at void android.app.Presentation.show() (Presentation.java:235)

I/art ( 2988): at void io.flutter.plugin.platform.VirtualDisplayController.<init>(android.content.Context, io.flutter.plugin.platform.AccessibilityEventsDelegate, android.hardware.display.VirtualDisplay, io.flutter.plugin.platform.PlatformViewFactory, android.view.Surface, io.flutter.view.TextureRegistry$SurfaceTextureEntry, android.view.View$OnFocusChangeListener, int, java.lang.Object) (VirtualDisplayController.java:92)

I/art ( 2988): at io.flutter.plugin.platform.VirtualDisplayController io.flutter.plugin.platform.VirtualDisplayController.create(android.content.Context, io.flutter.plugin.platform.AccessibilityEventsDelegate, io.flutter.plugin.platform.PlatformViewFactory, io.flutter.view.TextureRegistry$SurfaceTextureEntry, int, int, int, java.lang.Object, android.view.View$OnFocusChangeListener) (VirtualDisplayController.java:52)

I/art ( 2988): at long io.flutter.plugin.platform.PlatformViewsController$1.createPlatformView(io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$PlatformViewCreationRequest) (PlatformViewsController.java:97)

I/art ( 2988): at void io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (PlatformViewsChannel.java:87)

I/art ( 2988): at void io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (PlatformViewsChannel.java:51)

I/art ( 2988): at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:222)

I/art ( 2988): at void io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(java.lang.String, byte[], int) (DartMessenger.java:96)

I/art ( 2988): at void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:656)

I/art ( 2988): at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2)

I/art ( 2988): at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:323)

I/art ( 2988): at void android.os.Looper.loop() (Looper.java:142)

I/art ( 2988): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6238)

I/art ( 2988): at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)

I/art ( 2988): at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:933)

I/art ( 2988): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:823)

I/art ( 2988):

I/cr_LibraryLoader( 2988): Time to load native libraries: 8 ms (timestamps 9893-9901)

I/chromium( 2988): [INFO:library_loader_hooks.cc(51)] Chromium logging enabled: level = 0, default verbosity = 0

I/cr_LibraryLoader( 2988): Expected native library version number "77.0.3865.92", actual native library version number "77.0.3865.92"

I/cr_BrowserStartup( 2988): Initializing chromium process, singleProcess=true

W/ResourceType( 2988): Failure getting entry for 0x7f13052f (t=18 e=1327) (error -2147483647)

I/CameraManagerGlobal( 2988): Connecting to camera service

W/ResourceType( 2988): No package identifier when getting name for resource number 0x00000000

W/ResourceType( 2988): No package identifier when getting name for resource number 0x00000000

I/art ( 2988): Rejecting re-init on previously-failed class java.lang.Class<lk>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/SafeBrowsingResponse;

I/art ( 2988): at In com.android.webview.chromium.WebViewChromiumFactoryProvider.a(android.webkit.WebView, android.content.Context) (PG:9)

I/art ( 2988): at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (PG:23)

I/art ( 2988): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:636)

I/art ( 2988): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:572)

I/art ( 2988): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:555)

I/art ( 2988): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:542)

I/art ( 2988): at void android.webkit.WebView.<init>(android.content.Context) (WebView.java:532)

I/art ( 2988): at void com.wikitude.architect.ArchitectWebView.<init>(android.content.Context, com.wikitude.architect.ArchitectView, java.lang.String) (ProGuard:127)

I/art ( 2988): at void com.wikitude.architect.ArchitectView.onCreate(com.wikitude.architect.ArchitectStartupConfiguration) (ProGuard:445)

I/art ( 2988): at void com.wikitude.wikitude_plugin.ArchitectWidget.<init>(android.content.Context, io.flutter.plugin.common.PluginRegistry$Registrar, int, java.lang.Object) (ArchitectWidget.java:140)

I/art ( 2988): at io.flutter.plugin.platform.PlatformView com.wikitude.wikitude_plugin.ArchitectFactory.create(android.content.Context, int, java.lang.Object) (ArchitectFactory.java:27)

I/art ( 2988): at void io.flutter.plugin.platform.SingleViewPresentation.onCreate(android.os.Bundle) (SingleViewPresentation.java:158)

I/art ( 2988): at void android.app.Dialog.dispatchOnCreate(android.os.Bundle) (Dialog.java:402)

I/art ( 2988): at void android.app.Dialog.show() (Dialog.java:301)

I/art ( 2988): at void android.app.Presentation.show() (Presentation.java:235)

I/art ( 2988): at void io.flutter.plugin.platform.VirtualDisplayController.<init>(android.content.Context, io.flutter.plugin.platform.AccessibilityEventsDelegate, android.hardware.display.VirtualDisplay, io.flutter.plugin.platform.PlatformViewFactory, android.view.Surface, io.flutter.view.TextureRegistry$SurfaceTextureEntry, android.view.View$OnFocusChangeListener, int, java.lang.Object) (VirtualDisplayController.java:92)

I/art ( 2988): at io.flutter.plugin.platform.VirtualDisplayController io.flutter.plugin.platform.VirtualDisplayController.create(android.content.Context, io.flutter.plugin.platform.AccessibilityEventsDelegate, io.flutter.plugin.platform.PlatformViewFactory, io.flutter.view.TextureRegistry$SurfaceTextureEntry, int, int, int, java.lang.Object, android.view.View$OnFocusChangeListener) (VirtualDisplayController.java:52)

I/art ( 2988): at long io.flutter.plugin.platform.PlatformViewsController$1.createPlatformView(io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$PlatformViewCreationRequest) (PlatformViewsController.java:97)

I/art ( 2988): at void io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (PlatformViewsChannel.java:87)

I/art ( 2988): at void io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (PlatformViewsChannel.java:51)

I/art ( 2988): at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:222)

I/art ( 2988): at void io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(java.lang.String, byte[], int) (DartMessenger.java:96)

I/art ( 2988): at void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:656)

I/art ( 2988): at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2)

I/art ( 2988): at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:323)

I/art ( 2988): at void android.os.Looper.loop() (Looper.java:142)

I/art ( 2988): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6238)

I/art ( 2988): at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)

I/art ( 2988): at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:933)

I/art ( 2988): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:823)

I/art ( 2988): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.SafeBrowsingResponse" on path: DexPathList[[zip file "/data/app/com.android.chrome-2/base.apk", zip file "/data/app/com.android.chrome-2/split_autofill_assistant.apk", zip file "/data/app/com.android.chrome-2/split_autofill_assistant.config.en.apk", zip file "/data/app/com.android.chrome-2/split_config.en.apk"],nativeLibraryDirectories=[/data/app/com.android.chrome-2/lib/arm64, /data/app/com.android.chrome-2/base.apk!/lib/arm64-v8a, /data/app/com.android.chrome-2/split_autofill_assistant.apk!/lib/arm64-v8a, /data/app/com.android.chrome-2/split_autofill_assistant.config.en.apk!/lib/arm64-v8a, /data/app/com.android.chrome-2/split_config.en.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]

I/art ( 2988): at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)

I/art ( 2988): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:380)

I/art ( 2988): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)

I/art ( 2988): at In com.android.webview.chromium.WebViewChromiumFactoryProvider.a(android.webkit.WebView, android.content.Context) (PG:9)

I/art ( 2988): at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (PG:23)

I/art ( 2988): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:636)

I/art ( 2988): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:572)

I/art ( 2988): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:555)

I/art ( 2988): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:542)

I/art ( 2988): at void android.webkit.WebView.<init>(android.content.Context) (WebView.java:532)

I/art ( 2988): at void com.wikitude.architect.ArchitectWebView.<init>(android.content.Context, com.wikitude.architect.ArchitectView, java.lang.String) (ProGuard:127)

I/art ( 2988): at void com.wikitude.architect.ArchitectView.onCreate(com.wikitude.architect.ArchitectStartupConfiguration) (ProGuard:445)

I/art ( 2988): at void com.wikitude.wikitude_plugin.ArchitectWidget.<init>(android.content.Context, io.flutter.plugin.common.PluginRegistry$Registrar, int, java.lang.Object) (ArchitectWidget.java:140)

I/art ( 2988): at io.flutter.plugin.platform.PlatformView com.wikitude.wikitude_plugin.ArchitectFactory.create(android.content.Context, int, java.lang.Object) (ArchitectFactory.java:27)

I/art ( 2988): at void io.flutter.plugin.platform.SingleViewPresentation.onCreate(android.os.Bundle) (SingleViewPresentation.java:158)

I/art ( 2988): at void android.app.Dialog.dispatchOnCreate(android.os.Bundle) (Dialog.java:402)

I/art ( 2988): at void android.app.Dialog.show() (Dialog.java:301)

I/art ( 2988): at void android.app.Presentation.show() (Presentation.java:235)

I/art ( 2988): at void io.flutter.plugin.platform.VirtualDisplayController.<init>(android.content.Context, io.flutter.plugin.platform.AccessibilityEventsDelegate, android.hardware.display.VirtualDisplay, io.flutter.plugin.platform.PlatformViewFactory, android.view.Surface, io.flutter.view.TextureRegistry$SurfaceTextureEntry, android.view.View$OnFocusChangeListener, int, java.lang.Object) (VirtualDisplayController.java:92)

I/art ( 2988): at io.flutter.plugin.platform.VirtualDisplayController io.flutter.plugin.platform.VirtualDisplayController.create(android.content.Context, io.flutter.plugin.platform.AccessibilityEventsDelegate, io.flutter.plugin.platform.PlatformViewFactory, io.flutter.view.TextureRegistry$SurfaceTextureEntry, int, int, int, java.lang.Object, android.view.View$OnFocusChangeListener) (VirtualDisplayController.java:52)

I/art ( 2988): at long io.flutter.plugin.platform.PlatformViewsController$1.createPlatformView(io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$PlatformViewCreationRequest) (PlatformViewsController.java:97)

I/art ( 2988): at void io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (PlatformViewsChannel.java:87)

I/art ( 2988): at void io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (PlatformViewsChannel.java:51)

I/art ( 2988): at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:222)

I/art ( 2988): at void io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(java.lang.String, byte[], int) (DartMessenger.java:96)

I/art ( 2988): at void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:656)

I/art ( 2988): at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2)

I/art ( 2988): at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:323)

I/art ( 2988): at void android.os.Looper.loop() (Looper.java:142)

I/art ( 2988): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6238)

I/art ( 2988): at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)

I/art ( 2988): at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:933)

I/art ( 2988): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:823)

I/art ( 2988):

I/art ( 2988): Rejecting re-init on previously-failed class java.lang.Class<hk>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/RenderProcessGoneDetail;

I/art ( 2988): at In com.android.webview.chromium.WebViewChromiumFactoryProvider.a(android.webkit.WebView, android.content.Context) (PG:9)

I/art ( 2988): at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (PG:23)

I/art ( 2988): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:636)

I/art ( 2988): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:572)

I/art ( 2988): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:555)

I/art ( 2988): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:542)

I/art ( 2988): at void android.webkit.WebView.<init>(android.content.Context) (WebView.java:532)

I/art ( 2988): at void com.wikitude.architect.ArchitectWebView.<init>(android.content.Context, com.wikitude.architect.ArchitectView, java.lang.String) (ProGuard:127)

I/art ( 2988): at void com.wikitude.architect.ArchitectView.onCreate(com.wikitude.architect.ArchitectStartupConfiguration) (ProGuard:445)

I/art ( 2988): at void com.wikitude.wikitude_plugin.ArchitectWidget.<init>(android.content.Context, io.flutter.plugin.common.PluginRegistry$Registrar, int, java.lang.Object) (ArchitectWidget.java:140)

I/art ( 2988): at io.flutter.plugin.platform.PlatformView com.wikitude.wikitude_plugin.ArchitectFactory.create(android.content.Context, int, java.lang.Object) (ArchitectFactory.java:27)

I/art ( 2988): at void io.flutter.plugin.platform.SingleViewPresentation.onCreate(android.os.Bundle) (SingleViewPresentation.java:158)

I/art ( 2988): at void android.app.Dialog.dispatchOnCreate(android.os.Bundle) (Dialog.java:402)

I/art ( 2988): at void android.app.Dialog.show() (Dialog.java:301)

I/art ( 2988): at void android.app.Presentation.show() (Presentation.java:235)

I/art ( 2988): at void io.flutter.plugin.platform.VirtualDisplayController.<init>(android.content.Context, io.flutter.plugin.platform.AccessibilityEventsDelegate, android.hardware.display.VirtualDisplay, io.flutter.plugin.platform.PlatformViewFactory, android.view.Surface, io.flutter.view.TextureRegistry$SurfaceTextureEntry, android.view.View$OnFocusChangeListener, int, java.lang.Object) (VirtualDisplayController.java:92)

I/art ( 2988): at io.flutter.plugin.platform.VirtualDisplayController io.flutter.plugin.platform.VirtualDisplayController.create(android.content.Context, io.flutter.plugin.platform.AccessibilityEventsDelegate, io.flutter.plugin.platform.PlatformViewFactory, io.flutter.view.TextureRegistry$SurfaceTextureEntry, int, int, int, java.lang.Object, android.view.View$OnFocusChangeListener) (VirtualDisplayController.java:52)

I/art ( 2988): at long io.flutter.plugin.platform.PlatformViewsController$1.createPlatformView(io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$PlatformViewCreationRequest) (PlatformViewsController.java:97)

I/art ( 2988): at void io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (PlatformViewsChannel.java:87)

I/art ( 2988): at void io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (PlatformViewsChannel.java:51)

I/art ( 2988): at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:222)

I/art ( 2988): at void io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(java.lang.String, byte[], int) (DartMessenger.java:96)

I/art ( 2988): at void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:656)

I/art ( 2988): at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2)

I/art ( 2988): at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:323)

I/art ( 2988): at void android.os.Looper.loop() (Looper.java:142)

I/art ( 2988): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6238)

I/art ( 2988): at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)

I/art ( 2988): at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:933)

I/art ( 2988): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:823)

I/art ( 2988): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.RenderProcessGoneDetail" on path: DexPathList[[zip file "/data/app/com.android.chrome-2/base.apk", zip file "/data/app/com.android.chrome-2/split_autofill_assistant.apk", zip file "/data/app/com.android.chrome-2/split_autofill_assistant.config.en.apk", zip file "/data/app/com.android.chrome-2/split_config.en.apk"],nativeLibraryDirectories=[/data/app/com.android.chrome-2/lib/arm64, /data/app/com.android.chrome-2/base.apk!/lib/arm64-v8a, /data/app/com.android.chrome-2/split_autofill_assistant.apk!/lib/arm64-v8a, /data/app/com.android.chrome-2/split_autofill_assistant.config.en.apk!/lib/arm64-v8a, /data/app/com.android.chrome-2/split_config.en.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]

I/art ( 2988): at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)

I/art ( 2988): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:380)

I/art ( 2988): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)

I/art ( 2988): at In com.android.webview.chromium.WebViewChromiumFactoryProvider.a(android.webkit.WebView, android.content.Context) (PG:9)

I/art ( 2988): at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (PG:23)

I/art ( 2988): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:636)

I/art ( 2988): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:572)

I/art ( 2988): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:555)

I/art ( 2988): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:542)

I/art ( 2988): at void android.webkit.WebView.<init>(android.content.Context) (WebView.java:532)

I/art ( 2988): at void com.wikitude.architect.ArchitectWebView.<init>(android.content.Context, com.wikitude.architect.ArchitectView, java.lang.String) (ProGuard:127)

I/art ( 2988): at void com.wikitude.architect.ArchitectView.onCreate(com.wikitude.architect.ArchitectStartupConfiguration) (ProGuard:445)

I/art ( 2988): at void com.wikitude.wikitude_plugin.ArchitectWidget.<init>(android.content.Context, io.flutter.plugin.common.PluginRegistry$Registrar, int, java.lang.Object) (ArchitectWidget.java:140)

I/art ( 2988): at io.flutter.plugin.platform.PlatformView com.wikitude.wikitude_plugin.ArchitectFactory.create(android.content.Context, int, java.lang.Object) (ArchitectFactory.java:27)

I/art ( 2988): at void io.flutter.plugin.platform.SingleViewPresentation.onCreate(android.os.Bundle) (SingleViewPresentation.java:158)

I/art ( 2988): at void android.app.Dialog.dispatchOnCreate(android.os.Bundle) (Dialog.java:402)

I/art ( 2988): at void android.app.Dialog.show() (Dialog.java:301)

I/art ( 2988): at void android.app.Presentation.show() (Presentation.java:235)

I/art ( 2988): at void io.flutter.plugin.platform.VirtualDisplayController.<init>(android.content.Context, io.flutter.plugin.platform.AccessibilityEventsDelegate, android.hardware.display.VirtualDisplay, io.flutter.plugin.platform.PlatformViewFactory, android.view.Surface, io.flutter.view.TextureRegistry$SurfaceTextureEntry, android.view.View$OnFocusChangeListener, int, java.lang.Object) (VirtualDisplayController.java:92)

I/art ( 2988): at io.flutter.plugin.platform.VirtualDisplayController io.flutter.plugin.platform.VirtualDisplayController.create(android.content.Context, io.flutter.plugin.platform.AccessibilityEventsDelegate, io.flutter.plugin.platform.PlatformViewFactory, io.flutter.view.TextureRegistry$SurfaceTextureEntry, int, int, int, java.lang.Object, android.view.View$OnFocusChangeListener) (VirtualDisplayController.java:52)

I/art ( 2988): at long io.flutter.plugin.platform.PlatformViewsController$1.createPlatformView(io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$PlatformViewCreationRequest) (PlatformViewsController.java:97)

I/art ( 2988): at void io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (PlatformViewsChannel.java:87)

I/art ( 2988): at void io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (PlatformViewsChannel.java:51)

I/art ( 2988): at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:222)

I/art ( 2988): at void io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(java.lang.String, byte[], int) (DartMessenger.java:96)

I/art ( 2988): at void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:656)

I/art ( 2988): at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2)

I/art ( 2988): at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:323)

I/art ( 2988): at void android.os.Looper.loop() (Looper.java:142)

I/art ( 2988): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6238)

I/art ( 2988): at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)

I/art ( 2988): at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:933)

I/art ( 2988): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:823)

I/art ( 2988):

D/EgretLoader( 2988): EgretLoader(Context context)

D/EgretLoader( 2988): The context is not activity

W/cr_media( 2988): Requires BLUETOOTH permission

E/libEGL ( 2988): validate_display:99 error 3008 (EGL_BAD_DISPLAY)

W/VideoCapabilities( 2988): Unrecognized profile 2130706433 for video/avc

W/VideoCapabilities( 2988): Unrecognized profile 2130706434 for video/avc

W/VideoCapabilities( 2988): Unrecognized profile 2130706433 for video/avc

W/VideoCapabilities( 2988): Unrecognized profile 2130706434 for video/avc

W/VideoCapabilities( 2988): Unrecognized profile 2130706433 for video/avc

W/VideoCapabilities( 2988): Unrecognized profile 2130706434 for video/avc

W/VideoCapabilities( 2988): Unsupported mime video/divx

W/VideoCapabilities( 2988): Unsupported mime video/divx4

W/VideoCapabilities( 2988): Unsupported mime video/mp4v-esdp

W/VideoCapabilities( 2988): Unsupported mime video/mp4v-esdp

F/art ( 2988): art/runtime/java_vm_ext.cc:475] JNI DETECTED ERROR IN APPLICATION: JNI GetMethodID called with pending exception com.wikitude.architect.ArchitectView$CamNotAccessibleException: Permission denied. Make sure to have camera permissions before trying to access the camera.

F/art ( 2988): art/runtime/java_vm_ext.cc:475] at void com.wikitude.common.camera.internal.NativeCameraInterface.nativeCameraError(long, int, java.lang.String) (ProGuard:-2)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] at void com.wikitude.common.camera.internal.NativeCameraInterface.doStart() (ProGuard:31)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] at void com.wikitude.architect.ArchitectView.nativeStart(long) (ProGuard:-2)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] at void com.wikitude.architect.ArchitectView.onResume() (ProGuard:624)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] at void com.wikitude.wikitude_plugin.ArchitectWidget.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (ArchitectWidget.java:178)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:222)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] at void io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(java.lang.String, byte[], int) (DartMessenger.java:96)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] at void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:656)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:323)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] at void android.os.Looper.loop() (Looper.java:142)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6238)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:933)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:823)

F/art ( 2988): art/runtime/java_vm_ext.cc:475]

F/art ( 2988): art/runtime/java_vm_ext.cc:475] in call to GetMethodID

F/art ( 2988): art/runtime/java_vm_ext.cc:475] from void com.wikitude.architect.ArchitectView.nativeStart(long)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] "main" prio=5 tid=1 Runnable

F/art ( 2988): art/runtime/java_vm_ext.cc:475] | group="main" sCount=0 dsCount=0 obj=0x75af39d0 self=0x7fb1243a00

F/art ( 2988): art/runtime/java_vm_ext.cc:475] | sysTid=2988 nice=-10 cgrp=default sched=0/0 handle=0x7fb513aaa0

F/art ( 2988): art/runtime/java_vm_ext.cc:475] | state=R schedstat=( 1476751483 113621412 2031 ) utm=93 stm=54 core=6 HZ=100

F/art ( 2988): art/runtime/java_vm_ext.cc:475] | stack=0x7fd1102000-0x7fd1104000 stackSize=8MB

F/art ( 2988): art/runtime/java_vm_ext.cc:475] | held mutexes= "mutator lock"(shared held)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] native: #00 pc 000000000047d420 /system/lib64/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+220)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] native: #01 pc 000000000047d41c /system/lib64/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+216)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] native: #02 pc 0000000000451170 /system/lib64/libart.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMap+472)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] native: #03 pc 00000000002f01dc /system/lib64/libart.so (_ZN3art9JavaVMExt8JniAbortEPKcS2_+1128)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] native: #04 pc 00000000002f08c4 /system/lib64/libart.so (_ZN3art9JavaVMExt9JniAbortVEPKcS2_St9__va_list+120)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] native: #05 pc 0000000000102bd8 /system/lib64/libart.so (_ZN3art11ScopedCheck6AbortFEPKcz+156)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] native: #06 pc 00000000001025e8 /system/lib64/libart.so (_ZN3art11ScopedCheck11CheckThreadEP7_JNIEnv+544)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] native: #07 pc 0000000000100120 /system/lib64/libart.so (_ZN3art11ScopedCheck5CheckERNS_18ScopedObjectAccessEbPKcPNS_12JniValueTypeE+1120)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] native: #08 pc 00000000001048e8 /system/lib64/libart.so (_ZN3art8CheckJNI19GetMethodIDInternalEPKcP7_JNIEnvP7_jclassS2_S2_b+660)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] native: #09 pc 0000000000625da4 /data/app/com.example.pokeball-1/lib/arm64/libarchitect.so (_ZN8wikitude7android4impl39InternalOpenGLESRenderingSystemInternal6resumeEv+88)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] native: #10 pc 0000000000653c84 /data/app/com.example.pokeball-1/lib/arm64/libarchitect.so (_ZN8wikitude13universal_sdk4impl28WikitudeUniversalSDKInternal5startENSt6__ndk18functionIFvRNS_3sdk4impl20StartupConfigurationEEEENS4_IFvbNS3_10unique_ptrINS6_5ErrorENS3_14default_deleteISC_EEEEEEE+840)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] native: #11 pc 000000000063b850 /data/app/com.example.pokeball-1/lib/arm64/libarchitect.so (_ZN8wikitude3sdk4impl20WikitudeUniversalSDK5startENSt6__ndk18functionIFvRNS1_20StartupConfigurationEEEENS4_IFvbNS3_10unique_ptrINS1_5ErrorENS3_14default_deleteISA_EEEEEEE+208)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] native: #12 pc 00000000004d1954 /data/app/com.example.pokeball-1/lib/arm64/libarchitect.so (_ZN8wikitude7android4impl14JArchitectView5startEv+80)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] native: #13 pc 000000000000dae8 /data/app/com.example.pokeball-1/oat/arm64/base.odex (Java_com_wikitude_architect_ArchitectView_nativeStart__J+132)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] at com.wikitude.architect.ArchitectView.nativeStart(Native method)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] at com.wikitude.architect.ArchitectView.onResume(ProGuard:624)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] at com.wikitude.wikitude_plugin.ArchitectWidget.onMethodCall(ArchitectWidget.java:178)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:222)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:96)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:656)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] at android.os.MessageQueue.nativePollOnce(Native method)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] at android.os.MessageQueue.next(MessageQueue.java:323)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] at android.os.Looper.loop(Looper.java:142)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] at android.app.ActivityThread.main(ActivityThread.java:6238)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] at java.lang.reflect.Method.invoke!(Native method)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:933)

F/art ( 2988): art/runtime/java_vm_ext.cc:475] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)

F/art ( 2988): art/runtime/java_vm_ext.cc:475]

W/Utils ( 2988): could not parse long range '35-34'

I/VideoCapabilities( 2988): Unsupported profile 4 for video/mp4v-es

F/art ( 2988): art/runtime/runtime.cc:423] Runtime aborting...

F/art ( 2988): art/runtime/runtime.cc:423] Aborting thread:

F/art ( 2988): art/runtime/runtime.cc:423] "main" prio=10 tid=1 Native

F/art ( 2988): art/runtime/runtime.cc:423] | group="" sCount=0 dsCount=0 obj=0x75af39d0 self=0x7fb1243a00

F/art ( 2988): art/runtime/runtime.cc:423] | sysTid=2988 nice=-10 cgrp=default sched=0/0 handle=0x7fb513aaa0

F/art ( 2988): art/runtime/runtime.cc:423] | state=R schedstat=( 1550794610 118656408 2140 ) utm=97 stm=58 core=7 HZ=100

F/art ( 2988): art/runtime/runtime.cc:423] | stack=0x7fd1102000-0x7fd1104000 stackSize=8MB

F/art ( 2988): art/runtime/runtime.cc:423] | held mutexes= "abort lock"

F/art ( 2988): art/runtime/runtime.cc:423] native: #00 pc 000000000047d420 /system/lib64/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+220)

F/art ( 2988): art/runtime/runtime.cc:423] native: #01 pc 000000000047d41c /system/lib64/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+216)

F/art ( 2988): art/runtime/runtime.cc:423] native: #02 pc 0000000000451170 /system/lib64/libart.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMap+472)

F/art ( 2988): art/runtime/runtime.cc:423] native: #03 pc 000000000043f1dc /system/lib64/libart.so (_ZNK3art10AbortState10DumpThreadERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEPNS_6ThreadE+56)

F/art ( 2988): art/runtime/runtime.cc:423] native: #04 pc 000000000043f058 /system/lib64/libart.so (_ZNK3art10AbortState4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+668)

F/art ( 2988): art/runtime/runtime.cc:423] native: #05 pc 0000000000432aec /system/lib64/libart.so (_ZN3art7Runtime5AbortEPKc+144)

F/art ( 2988): art/runtime/runtime.cc:423] native: #06 pc 00000000000e5f0c /system/lib64/libart.so (_ZN3art10LogMessageD2Ev+1576)

F/art ( 2988): art/runtime/runtime.cc:423] native: #07 pc 00000000002f05f0 /system/lib64/libart.so (_ZN3art9JavaVMExt8JniAbortEPKcS2_+2172)

F/art ( 2988): art/runtime/runtime.cc:423] native: #08 pc 00000000002f08c4 /system/lib64/libart.so (_ZN3art9JavaVMExt9JniAbortVEPKcS2_St9__va_list+120)

F/art ( 2988): art/runtime/runtime.cc:423] native: #09 pc 0000000000102bd8 /system/lib64/libart.so (_ZN3art11ScopedCheck6AbortFEPKcz+156)

F/art ( 2988): art/runtime/runtime.cc:423] native: #10 pc 00000000001025e8 /system/lib64/libart.so (_ZN3art11ScopedCheck11CheckThreadEP7_JNIEnv+544)

F/art ( 2988): art/runtime/runtime.cc:423] native: #11 pc 0000000000100120 /system/lib64/libart.so (_ZN3art11ScopedCheck5CheckERNS_18ScopedObjectAccessEbPKcPNS_12JniValueTypeE+1120)

F/art ( 2988): art/runtime/runtime.cc:423] native: #12 pc 00000000001048e8 /system/lib64/libart.so (_ZN3art8CheckJNI19GetMethodIDInternalEPKcP7_JNIEnvP7_jclassS2_S2_b+660)

F/art ( 2988): art/runtime/runtime.cc:423] native: #13 pc 0000000000625da4 /data/app/com.example.pokeball-1/lib/arm64/libarchitect.so (_ZN8wikitude7android4impl39InternalOpenGLESRenderingSystemInternal6resumeEv+88)

F/art ( 2988): art/runtime/runtime.cc:423] native: #14 pc 0000000000653c84 /data/app/com.example.pokeball-1/lib/arm64/libarchitect.so (_ZN8wikitude13universal_sdk4impl28WikitudeUniversalSDKInternal5startENSt6__ndk18functionIFvRNS_3sdk4impl20StartupConfigurationEEEENS4_IFvbNS3_10unique_ptrINS6_5ErrorENS3_14default_deleteISC_EEEEEEE+840)

F/art ( 2988): art/runtime/runtime.cc:423] native: #15 pc 000000000063b850 /data/app/com.example.pokeball-1/lib/arm64/libarchitect.so (_ZN8wikitude3sdk4impl20WikitudeUniversalSDK5startENSt6__ndk18functionIFvRNS1_20StartupConfigurationEEEENS4_IFvbNS3_10unique_ptrINS1_5ErrorENS3_14default_deleteISA_EEEEEEE+208)

F/art ( 2988): art/runtime/runtime.cc:423] native: #16 pc 00000000004d1954 /data/app/com.example.pokeball-1/lib/arm64/libarchitect.so (_ZN8wikitude7android4impl14JArchitectView5startEv+80)

F/art ( 2988): art/runtime/runtime.cc:423] native: #17 pc 000000000000dae8 /data/app/com.example.pokeball-1/oat/arm64/base.odex (???)

F/art ( 2988): art/runtime/runtime.cc:423] at com.wikitude.architect.ArchitectView.nativeStart(Native method)

F/art ( 2988): art/runtime/runtime.cc:423] at com.wikitude.architect.ArchitectView.onResume(ProGuard:624)

F/art ( 2988): art/runtime/runtime.cc:423] at com.wikitude.wikitude_plugin.ArchitectWidget.onMethodCall(ArchitectWidget.java:178)

F/art ( 2988): art/runtime/runtime.cc:423] at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:222)

F/art ( 2988): art/runtime/runtime.cc:423] at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:96)

F/art ( 2988): art/runtime/runtime.cc:423] at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:656)

F/art ( 2988): art/runtime/runtime.cc:423] at android.os.MessageQueue.nativePollOnce(Native method)

F/art ( 2988): art/runtime/runtime.cc:423] at android.os.MessageQueue.next(MessageQueue.java:323)

F/art ( 2988): art/runtime/runtime.cc:423] at android.os.Looper.loop(Looper.java:142)

F/art ( 2988): art/runtime/runtime.cc:423] at android.app.ActivityThread.main(ActivityThread.java:6238)

F/art ( 2988): art/runtime/runtime.cc:423] at java.lang.reflect.Method.invoke!(Native method)

F/art ( 2988): art/runtime/runtime.cc:423] at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:933)

F/art ( 2988): art/runtime/runtime.cc:423] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)

F/art ( 2988): art/runtime/runtime.cc:423] Pending exception com.wikitude.architect.ArchitectView$CamNotAccessibleException: Permission denied. Make sure to have camera permissions before trying to access the camera.

F/art ( 2988): art/runtime/runtime.cc:423] at void com.wikitude.common.camera.internal.NativeCameraInterface.nativeCameraError(long, int, java.lang.String) (ProGuard:-2)

F/art ( 2988): art/runtime/runtime.cc:423] at void com.wikitude.common.camera.internal.NativeCameraInterface.doStart() (ProGuard:31)

F/art ( 2988): art/runtime/runtime.cc:423] at void com.wikitude.architect.ArchitectView.nativeStart(long) (ProGuard:-2)

F/art ( 2988): art/runtime/runtime.cc:423] at void com.wikitude.architect.ArchitectView.onResume() (ProGuard:624)

F/art ( 2988): art/runtime/runtime.cc:423] at void com.wikitude.wikitude_plugin.ArchitectWidget.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (ArchitectWidget.java:178)

F/art ( 2988): art/runtime/runtime.cc:423] at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:222)

F/art ( 2988): art/runtime/runtime.cc:423] at void io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(java.lang.String, byte[], int) (DartMessenger.java:96)

F/art ( 2988): art/runtime/runtime.cc:423] at void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:656)

F/art ( 2988): art/runtime/runtime.cc:423] at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2)

F/art ( 2988): art/runtime/runtime.cc:423] at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:323)

F/art ( 2988): art/runtime/runtime.cc:423] at void android.os.Looper.loop() (Looper.java:142)

F/art ( 2988): art/runtime/runtime.cc:423] at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6238)

F/art ( 2988): art/runtime/runtime.cc:423] at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)

F/art ( 2988): art/runtime/runtime.cc:423] at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:933)

F/art ( 2988): art/runtime/runtime.cc:423] at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:823)

F/art ( 2988): art/runtime/runtime.cc:423] Dumping all threads without appropriate locks held: thread list lock mutator lock

F/art ( 2988): art/runtime/runtime.cc:423] All threads:

F/art ( 2988): art/runtime/runtime.cc:423] DALVIK THREADS (34):

F/art ( 2988): art/runtime/runtime.cc:423] "main" prio=10 tid=1 Runnable

F/art ( 2988): art/runtime/runtime.cc:423] | group="" sCount=0 dsCount=0 obj=0x75af39d0 self=0x7fb1243a00

F/art ( 2988): art/runtime/runtime.cc:423] | sysTid=2988 nice=-10 cgrp=default sched=0/0 handle=0x7fb513aaa0

F/art ( 2988): art/runtime/runtime.cc:423] | state=R schedstat=( 1626382315 119534011 2197 ) utm=99 stm=63 core=6 HZ=100

F/art ( 2988): art/runtime/runtime.cc:423] | stack=0x7fd1102000-0x7fd1104000 stackSize=8MB

F/art ( 2988): art/runtime/runtime.cc:423] | held mutexes= "abort lock" "mutator lock"(shared held)

F/art ( 2988): art/runtime/runtime.cc:423] native: #00 pc 000000000047d420 /system/lib64/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+220)

F/art ( 2988): art/runtime/runtime.cc:423] native: #01 pc 000000000047d41c /system/lib64/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+216)

F/art ( 2988): art/runtime/runtime.cc:423] native: #02 pc 0000000000451170 /system/lib64/libart.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMap+472)

F/art ( 2988): art/runtime/runtime.cc:423] native: #03 pc 0000000000469284 /system/lib64/libart.so (_ZN3art14DumpCheckpoint3RunEPNS_6ThreadE+904)

F/art ( 2988): art/runtime/runtime.cc:423] native: #04 pc 0000000000460fc8 /system/lib64/libart.so (_ZN3art10ThreadList13RunCheckpointEPNS_7ClosureEb+808)

F/art ( 2988): art/runtime/runtime.cc:423] native: #05 pc 0000000000460a24 /system/lib64/libart.so (_ZN3art10ThreadList4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEb+864)

F/art ( 2988): art/runtime/runtime.cc:423] native: #06 pc 000000000043f00c /system/lib64/libart.so (_ZNK3art10AbortState4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+592)

F/art ( 2988): art/runtime/runtime.cc:423] native: #07 pc 0000000000432aec /system/lib64/libart.so (_ZN3art7Runtime5AbortEPKc+144)

F/art ( 2988): art/runtime/runtime.cc:423] native: #08 pc 00000000000e5f0c /system/lib64/libart.so (_ZN3art10LogMessageD2Ev+1576)

F/art ( 2988): art/runtime/runtime.cc:423] native: #09 pc 00000000002f05f0 /system/lib64/libart.so (_ZN3art9JavaVMExt8JniAbortEPKcS2_+2172)

F/art ( 2988): art/runtime/runtime.cc:423] native: #10 pc 00000000002f08c4 /system/lib64/libart.so (_ZN3art9JavaVMExt9JniAbortVEPKcS2_St9__va_list+120)

F/art ( 2988): art/runtime/runtime.cc:423] native: #11 pc 0000000000102bd8 /system/lib64/libart.so (_ZN3art11ScopedCheck6AbortFEPKcz+156)

F/art ( 2988): art/runtime/runtime.cc:423] native: #12 pc 00000000001025e8 /system/lib64/libart.so (_ZN3art11ScopedCheck11CheckThreadEP7_JNIEnv+544)

F/art ( 2988): art/runtime/runtime.cc:423] native: #13 pc 0000000000100120 /system/lib64/libart.so (_ZN3art11ScopedCheck5CheckERNS_18ScopedObjectAccessEbPKcPNS_12JniValueTypeE+1120)

F/art ( 2988): art/runtime/runtime.cc:423] native: #14 pc 00000000001048e8 /system/lib64/libart.so (_ZN3art8CheckJNI19GetMethodIDInternalEPKcP7_JNIEnvP7_jclassS2_S2_b+660)

F/art ( 2988): art/runtime/runtime.cc:423] native: #15 pc 0000000000625da4 /data/app/com.example.pokeball-1/lib/arm64/libarchitect.so (_ZN8wikitude7android4impl39InternalOpenGLESRenderingSystemInternal6resumeEv+88)

F/art ( 2988): art/runtime/runtime.cc:423] native: #16 pc 0000000000653c84 /data/app/com.example.pokeball-1/lib/arm64/libarchitect.so (_ZN8wikitude13universal_sdk4impl28WikitudeUniversalSDKInternal5startENSt6__ndk18functionIFvRNS_3sdk4impl20StartupConfigurationEEEENS4_IFvbNS3_10unique_ptrINS6_5ErrorENS3_14default_deleteISC_EEEEEEE+840)

F/art ( 2988): art/runtime/runtime.cc:423] native: #17 pc 000000000063b850 /data/app/com.example.pokeball-1/lib/arm64/libarchitect.so (_ZN8wikitude3sdk4impl20WikitudeUniversalSDK5startENSt6__ndk18functionIFvRNS1_20StartupConfigurationEEEENS4_IFvbNS3_10unique_ptrINS1_5ErrorENS3_14default_deleteISA_EEEEEEE+208)

F/art ( 2988): art/runtime/runtime.cc:423] native: #18 pc 00000000004d1954 /data/app/com.example.pokeball-1/lib/arm64/libarchitect.so (_ZN8wikitude7android4impl14JArchitectView5startEv+80)

F/art ( 2988): art/runtime/runtime.cc:423] native: #19 pc 000000000000dae8 /data/app/com.example.pokeball-1/oat/arm64/base.odex (Java_com_wikitude_architect_ArchitectView_nativeStart__J+132)

F/art ( 2988): art/runtime/runtime.cc:423] at com.wikitude.architect.ArchitectView.nativeStart(Native method)

F/art ( 2988): art/runtime/runtime.cc:423] at com.wikitude.architect.ArchitectView.onResume(ProGuard:624)

F/art ( 2988): art/runtime/runtime.cc:423] at com.wikitude.wikitude_plugin.ArchitectWidget.onMethodCall(ArchitectWidget.java:178)

F/art ( 2988): art/runtime/runtime.cc:423] at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:222)

F/art ( 2988): art/runtime/runtime.cc:423] at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:96)

F/art ( 2988): art/runtime/runtime.cc:423] at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:656)

F/art ( 2988): art/runtime/runtime.cc:423] at android.os.MessageQueue.nativePollOnce(Native method)

F/art ( 2988): art/runtime/runtime.cc:423] at android.os.MessageQueue.next(MessageQueue.java:323)

F/art ( 2988): art/runtime/runtime.cc:423] at android.os.Looper.loop(Looper.java:142)

F/art ( 2988): art/runtime/runtime.cc:423] at android.app.ActivityThread.main(ActivityThread.java:6238)

F/art ( 2988): art/runtime/runtime.cc:423] at java.lang.reflect.Method.invoke!(Native method)

F/art ( 2988): art/runtime/runtime.cc:423] at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:933)

F/art ( 2988): art/runtime/runtime.cc:423] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)

F/art ( 2988): art/runtime/runtime.cc:423]

F/art ( 2988): art/runtime/runtime.cc:423] "Jit thread pool worker thread 0" prio=10 tid=2 Native

F/art ( 2988): art/runtime/runtime.cc:423] | group="" sCount=1 dsCount=0 obj=0x12c3fc10 self=0x7fb1244400

F/art ( 2988): art/runtime/runtime.cc:423] | sysTid=2994 nice=9 cgrp=default sched=0/0 handle=0x7fb0807450

F/art ( 2988): art/runtime/runtime.cc:423] | state=S schedstat=( 94460263 10343172 140 ) utm=9 stm=0 core=5 HZ=100

F/art ( 2988): art/runtime/runtime.cc:423] | stack=0x7fb0709000-0x7fb070b000 stackSize=1021KB

F/art ( 2988): art/runtime/runtime.cc:423] | held mutexes=

F/art ( 2988): art/runtime/runtime.cc:423] kernel: __switch_to+0x70/0x7c

F/art ( 2988): art/runtime/runtime.cc:423] kernel: futex_wait_queue_me+0xe4/0x144

F/art ( 2988): art/runtime/runtime.cc:423] kernel: futex_wait+0xfc/0x208

F/art ( 2988): art/runtime/runtime.cc:423] kernel: do_futex+0xdc/0x8a4

F/art ( 2988): art/runtime/runtime.cc:423] kernel: SyS_futex+0x114/0x1a0

F/art ( 2988): art/runtime/runtime.cc:423] kernel: el0_svc_naked+0x24/0x28

F/art ( 2988): art/runtime/runtime.cc:423] native: #00 pc 000000000001bf2c /system/lib64/libc.so (syscall+28)

F/art ( 2988): art/runtime/runtime.cc:423] native: #01 pc 00000000000e81bc /system/lib64/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+160)

F/art ( 2988): art/runtime/runtime.cc:423] native: #02 pc 000000000046b03c /system/lib64/libart.so (_ZN3art10ThreadPool7GetTaskEPNS_6ThreadE+252)

F/art ( 2988): art/runtime/runtime.cc:423] native: #03 pc 000000000046a4ec /system/lib64/libart.so (_ZN3art16ThreadPoolWorker3RunEv+124)

F/art ( 2988): art/runtime/runtime.cc:423] native: #04 pc 0000000000469e1c /system/lib64/libart.so (_ZN3art16ThreadPoolWorker8CallbackEPv+132)

F/art ( 2988): art/runtime/runtime.cc:423] native: #05 pc 00000000000681e4 /system/lib64/libc.so (_ZL15__pthread_startPv+196)

F/art ( 2988): art/runtime/runtime.cc:423] native: #06 pc 000000000001dbc0 /system/lib64/libc.so (__start_thread+16)

F/art ( 2988): art/runtime/runtime.cc:423] (no managed stack frames)

F/art ( 2988): art/runtime/runtime.cc:423]

F/art ( 2988): art/runtime/runtime.cc:423] "Signal Catcher" prio=10 tid=3 WaitingInMainSignalCatcherLoop

F/art ( 2988): art/runtime/runtime.cc:423] | group="" sCount=1 dsCount=0 obj=0x12c3fca0 self=0x7fb1244e00

F/art ( 2988): art/runtime/runtime.cc:423] | sysTid=2995 nice=0 cgrp=default sched=0/0 handle=0x7fb0706450

F/art ( 2988): art/runtime/runtime.cc:423] | state=S schedstat=( 534166 4427 1 ) utm=0 stm=0 core=6 HZ=100

F/art ( 2988): art/runtime/runtime.cc:423] | stack=0x7fb060c000-0x7fb060e000 stackSize=1005KB

F/art ( 2988): art/runtime/runtime.cc:423] | held mutexes=

F/art ( 2988): art/runtime/runtime.cc:423] kernel: __switch_to+0x70/0x7c

F/art ( 2988): art/runtime/runtime.cc:423] kernel: do_sigtimedwait+0xec/0x1d8

F/art ( 2988): art/runtime/runtime.cc:423] kernel: SyS_rt_sigtimedwait+0xd4/0x124

F/art ( 2988): art/runtime/runtime.cc:423] kernel: el0_svc_naked+0x24/0x28

F/art ( 2988): art/runtime/runtime.cc:423] native: #00 pc 000000000006a760 /system/lib64/libc.so (__rt_sigtimedwait+8)

F/art ( 2988): art/runtime/runtime.cc:423] native: #01 pc 0000000000024ce0 /system/lib64/libc.so (sigwait+64)

F/art ( 2988): art/runtime/runtime.cc:423] native: #02 pc 00000000004438a8 /system/lib64/libart.so (_ZN3art9SignalSet4WaitEv+48)

F/art ( 2988): art/runtime/runtime.cc:423] native: #03 pc 0000000000443378 /system/lib64/libart.so (_ZN3art13SignalCatcher13WaitForSignalEPNS_6ThreadERNS_9SignalSetE+240)

F/art ( 2988): art/runtime/runtime.cc:423] native: #04 pc 0000000000441944 /system/lib64/libart.so (_ZN3art13SignalCatcher3RunEPv+396)

F/art ( 2988): art/runtime/runtime.cc:423] native: #05 pc 00000000000681e4 /system/lib64/libc.so (_ZL15__pthread_startPv+196)

F/art ( 2988): art/runtime/runtime.cc:423] native: #06 pc 000000000001dbc0 /system/lib64/libc.so (__start_thread+16)

F/art ( 2988): art/runtime/runtime.cc:423] (no managed stack frames)

F/art ( 2988): art/runtime/runtime.cc:423]

F/art ( 2988): art/runtime/runtime.cc:423] "JDWP" prio=10 tid=4 WaitingInMainDebuggerLoop

F/art ( 2988): art/runtime/runtime.cc:423] | group="" sCount=1 dsCount=0 obj=0x12c3fd30 self=0x7fb1245800

F/art ( 2988): art/runtime/runtime.cc:423] | sysTid=2997 nice=0 cgrp=default sched=0/0 handle=0x7fb0609450

F/art ( 2988): art


Hi Marvin,


Looking at the error log: JNI DETECTED ERROR IN APPLICATION: JNI GetMethodID called with pending exception com.wikitude.architect.ArchitectView$CamNotAccessibleException: Permission denied. Make sure to have camera permissions before trying to access the camera, it seems that you rejected the camera permission before entering one of the examples. Please make sure you accept this permission before entering any of the samples.


Regards,


Aitor.


1 person likes this

Hi Marvin,


Please provide further details:

  • Which version of the SDK are you using?
  • What device does this happen with (model details and OS version) - is this device specific?
  • Is this happening with the sample app or in your own app? If it happens with your own app, does the sample app building work on your device?
  • Did you make sure to follow the setup guide in the documentation, so all the settings are made correctly?

Thx and greetings

Nicola

Hi Nicola,


Thanks for your reply.


1. The SDK I am using is version 8.9.1

2. Devices: - Emulator: Nexus 6 OS: API 28

                   - Phone: Xiaomi Redmi 4X, OS: Andorid 7.1.2 N2G47H

3. Sample apps

4. Yes, I have read through the installation guide and follow it accordingly.



Kind Regards,

Marvin


Hi Aitor,


Thanks for your prompt response.


Yes, you are right, when I enable manually through the app management in the phone settings it can run now.

Thanks for that!


But why it didn't show any notification in the first place to just tell me turn on the camera permission when I open the app/after finished the installation process? Instead it was just throwing errors log in my IDE.


Cause if I come into the production process, the users might not know what's happening behind the screen if the app didn't ask them to turn on the camera permission for this app.


Please advise me, how do I tackle this thing? (i.e how to show permission access to user when the app fired up)


Thanks!

Hi,


In the main.dart file you can find a _pushArView(sample) method which is calling the _requestARPermissions(sample.requiredFeatures) to request the necessary permissions from inside the SDK. If you did not change anything in the code, it should ask for the camera permission automatically. Could you try to uninstall the app and install it again from 0 to check this part? In case this problem is still happening, I would have a look at our Flutter SDK.


Another way to handle this permission management could be to request it directly from the dart code before calling anything from our SDK. This is not the recommended way, since we are asking for the exact permissions we need depending on the requiredFeatures parameter.


Regards,


Aitor.

Hi Aitor,


Thank you for the thorough reply and the code examples.

Will try to figure it out!


Kind Regards,

Marvin

Login or Signup to post a comment