Didn't find class QtActivityDelegate with App Bundle
Solved
Mobile and Embedded
-
When running an app through an apk, it works fine. When distributed as an app bundle through Google Play, it never gets past the splash screen and the logs say QtActivityDelegate cannot be found. How would I fix this? Any ideas to try?
--------- beginning of main 04-27 11:03:39.280 27864 27864 E Zygote : isWhitelistProcess - Process is Whitelisted 04-27 11:03:39.282 27864 27864 E Zygote : accessInfo : 1 04-27 11:03:39.296 27864 27864 E agragps.agragp: Not starting debugger since process cannot load the jdwp agent. 04-27 11:03:39.376 27864 27864 W agragps.agragp: JIT profile information will not be recorded: profile file does not exits. 04-27 11:03:39.376 27864 27864 W agragps.agragp: JIT profile information will not be recorded: profile file does not exits. 04-27 11:03:39.386 27864 27890 D vndksupport: Loading /vendor/lib64/egl/libEGL_adreno.so from current namespace instead of sphal namespace. 04-27 11:03:39.393 27864 27890 D libEGL : loaded /vendor/lib64/egl/libEGL_adreno.so 04-27 11:03:39.413 27864 27864 W System : ClassLoader referenced unknown path: 04-27 11:03:39.414 27864 27864 W System.err: java.lang.ClassNotFoundException: Didn't find class "org.qtproject.qt5.android.QtActivityDelegate" on path: DexPathList[[],nativeLibraryDirectories=[/system/lib64, /system/vendor/lib64]] 04-27 11:03:39.415 27864 27864 W System.err: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134) 04-27 11:03:39.415 27864 27864 W System.err: at java.lang.ClassLoader.loadClass(ClassLoader.java:379) 04-27 11:03:39.415 27864 27864 W System.err: at java.lang.ClassLoader.loadClass(ClassLoader.java:312) 04-27 11:03:39.415 27864 27864 W System.err: at org.qtproject.qt5.android.bindings.c.a(SourceFile:38) 04-27 11:03:39.415 27864 27864 W System.err: at org.qtproject.qt5.android.bindings.c.a(SourceFile:127) 04-27 11:03:39.415 27864 27864 W System.err: at org.qtproject.qt5.android.bindings.b.a(SourceFile:29) 04-27 11:03:39.415 27864 27864 W System.err: at org.qtproject.qt5.android.bindings.a.a(SourceFile:5) 04-27 11:03:39.415 27864 27864 W System.err: at org.qtproject.qt5.android.bindings.a.onCreate(SourceFile:2) 04-27 11:03:39.415 27864 27864 W System.err: at com.agragps.agragps.CustomActivity.onCreate(SourceFile:1) 04-27 11:03:39.415 27864 27864 W System.err: at android.app.Activity.performCreate(Activity.java:7327) 04-27 11:03:39.415 27864 27864 W System.err: at android.app.Activity.performCreate(Activity.java:7318) 04-27 11:03:39.415 27864 27864 W System.err: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271) 04-27 11:03:39.415 27864 27864 W System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3094) 04-27 11:03:39.415 27864 27864 W System.err: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3257) 04-27 11:03:39.415 27864 27864 W System.err: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78) 04-27 11:03:39.415 27864 27864 W System.err: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108) 04-27 11:03:39.415 27864 27864 W System.err: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68) 04-27 11:03:39.415 27864 27864 W System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1948) 04-27 11:03:39.415 27864 27864 W System.err: at android.os.Handler.dispatchMessage(Handler.java:106) 04-27 11:03:39.415 27864 27864 W System.err: at android.os.Looper.loop(Looper.java:214) 04-27 11:03:39.415 27864 27864 W System.err: at android.app.ActivityThread.main(ActivityThread.java:7050) 04-27 11:03:39.415 27864 27864 W System.err: at java.lang.reflect.Method.invoke(Native Method) 04-27 11:03:39.415 27864 27864 W System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494) 04-27 11:03:39.415 27864 27864 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:964) 04-27 11:03:39.416 27864 27864 D Dialog : mIsSamsungBasicInteraction = false 04-27 11:03:39.416 27864 27864 D Dialog : mIsSamsungBasicInteraction = false, isMetaDataInActivity = false 04-27 11:03:39.421 27864 27890 D vndksupport: Loading /vendor/lib64/egl/libGLESv1_CM_adreno.so from current namespace instead of sphal namespace. 04-27 11:03:39.427 27864 27890 D libEGL : loaded /vendor/lib64/egl/libGLESv1_CM_adreno.so 04-27 11:03:39.431 27864 27864 I DecorView: createDecorCaptionView >> DecorView@2a0bd5c[], isFloating: true, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: false 04-27 11:03:39.445 27864 27890 D vndksupport: Loading /vendor/lib64/egl/libGLESv2_adreno.so from current namespace instead of sphal namespace. 04-27 11:03:39.448 27864 27890 D libEGL : loaded /vendor/lib64/egl/libGLESv2_adreno.so 04-27 11:03:39.452 27864 27864 D ScrollView: initGoToTop 04-27 11:03:39.464 27864 27864 D OpenGLRenderer: Skia GL Pipeline 04-27 11:03:39.468 27864 27864 D EmergencyMode: [EmergencyManager] android createPackageContext successful 04-27 11:03:39.474 27864 27864 I DecorView: createDecorCaptionView >> DecorView@bbd1e78[], isFloating: false, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: true 04-27 11:03:39.511 27864 27864 D InputTransport: Input channel constructed: fd=61 04-27 11:03:39.512 27864 27864 D ViewRootImpl@9150866[CustomActivity]: setView = DecorView@2a0bd5c[CustomActivity] TM=true MM=false 04-27 11:03:39.526 27864 27864 D ViewRootImpl@9150866[CustomActivity]: setWindowStopped(false) old=false 04-27 11:03:39.531 27864 27864 E agragps.agragp: No implementation found for void com.agragps.agragps.CustomActivity.onExitedBackground() (tried Java_com_agragps_agragps_CustomActivity_onExitedBackground and Java_com_agragps_agragps_CustomActivity_onExitedBackground__) 04-27 11:03:39.531 27864 27864 W AgraGPSBackground: Unable to exit the background on first launch 04-27 11:03:39.531 27864 27864 W AgraGPSBackground: java.lang.UnsatisfiedLinkError: No implementation found for void com.agragps.agragps.CustomActivity.onExitedBackground() (tried Java_com_agragps_agragps_CustomActivity_onExitedBackground and Java_com_agragps_agragps_CustomActivity_onExitedBackground__) 04-27 11:03:39.531 27864 27864 W AgraGPSBackground: at com.agragps.agragps.CustomActivity.onExitedBackground(Native Method) 04-27 11:03:39.531 27864 27864 W AgraGPSBackground: at com.agragps.agragps.CustomActivity.onResume(SourceFile:4) 04-27 11:03:39.531 27864 27864 W AgraGPSBackground: at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1412) 04-27 11:03:39.531 27864 27864 W AgraGPSBackground: at android.app.Activity.performResume(Activity.java:7558) 04-27 11:03:39.531 27864 27864 W AgraGPSBackground: at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4006) 04-27 11:03:39.531 27864 27864 W AgraGPSBackground: at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4046) 04-27 11:03:39.531 27864 27864 W AgraGPSBackground: at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:51) 04-27 11:03:39.531 27864 27864 W AgraGPSBackground: at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:145) 04-27 11:03:39.531 27864 27864 W AgraGPSBackground: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70) 04-27 11:03:39.531 27864 27864 W AgraGPSBackground: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1948) 04-27 11:03:39.531 27864 27864 W AgraGPSBackground: at android.os.Handler.dispatchMessage(Handler.java:106) 04-27 11:03:39.531 27864 27864 W AgraGPSBackground: at android.os.Looper.loop(Looper.java:214) 04-27 11:03:39.531 27864 27864 W AgraGPSBackground: at android.app.ActivityThread.main(ActivityThread.java:7050) 04-27 11:03:39.531 27864 27864 W AgraGPSBackground: at java.lang.reflect.Method.invoke(Native Method) 04-27 11:03:39.531 27864 27864 W AgraGPSBackground: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494) 04-27 11:03:39.531 27864 27864 W AgraGPSBackground: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:964) 04-27 11:03:39.540 27864 27864 D InputTransport: Input channel constructed: fd=62 04-27 11:03:39.540 27864 27864 D ViewRootImpl@c304743[CustomActivity]: setView = DecorView@bbd1e78[CustomActivity] TM=true MM=false 04-27 11:03:39.543 27864 27864 D ViewRootImpl@9150866[CustomActivity]: dispatchAttachedToWindow 04-27 11:03:39.558 27864 27864 D ViewRootImpl@9150866[CustomActivity]: Relayout returned: old=[0,63][1080,2094] new=[28,899][1052,1258] result=0x7 surface={valid=true 479317147648} changed=true 04-27 11:03:39.559 27864 27891 I Adreno : QUALCOMM build : 1c7d42c, If23bcb88b5 04-27 11:03:39.559 27864 27891 I Adreno : Build Date : 01/28/19 04-27 11:03:39.559 27864 27891 I Adreno : OpenGL ES Shader Compiler Version: EV031.25.03.01 04-27 11:03:39.559 27864 27891 I Adreno : Local Branch : 04-27 11:03:39.559 27864 27891 I Adreno : Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.UM.7.4.R1.09.00.00.453.036 04-27 11:03:39.559 27864 27891 I Adreno : Remote Branch : NONE 04-27 11:03:39.559 27864 27891 I Adreno : Reconstruct Branch : NOTHING 04-27 11:03:39.559 27864 27891 I Adreno : Build Config : S L 6.0.7 AArch64 04-27 11:03:39.559 27864 27891 D vndksupport: Loading /vendor/lib64/hw/gralloc.msm8998.so from current namespace instead of sphal namespace. 04-27 11:03:39.564 27864 27864 D ScrollView: onsize change changed 04-27 11:03:39.565 27864 27864 D ViewRootImpl@c304743[CustomActivity]: dispatchAttachedToWindow 04-27 11:03:39.565 27864 27891 I Adreno : PFP: 0x005ff112, ME: 0x005ff066 04-27 11:03:39.576 27864 27891 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0 04-27 11:03:39.576 27864 27891 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0 04-27 11:03:39.576 27864 27891 I OpenGLRenderer: Initialized EGL, version 1.4 04-27 11:03:39.576 27864 27891 D OpenGLRenderer: Swap behavior 2 04-27 11:03:39.589 27864 27891 D OpenGLRenderer: eglCreateWindowSurface = 0x6f837d2d80, 0x6f99874010 04-27 11:03:39.598 27864 27864 D ViewRootImpl@c304743[CustomActivity]: Relayout returned: old=[0,0][1080,2094] new=[0,0][1080,2094] result=0x7 surface={valid=true 479318401024} changed=true 04-27 11:03:39.620 27864 27891 D OpenGLRenderer: eglCreateWindowSurface = 0x6f837d2e00, 0x6f999a6010 04-27 11:03:39.621 27864 27864 D ViewRootImpl@9150866[CustomActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1 04-27 11:03:39.641 27864 27891 D vndksupport: Loading /vendor/lib64/hw/android.hardware.graphics.mapper@2.0-impl.so from current namespace instead of sphal namespace. 04-27 11:03:39.642 27864 27891 D vndksupport: Loading /vendor/lib64/hw/gralloc.msm8998.so from current namespace instead of sphal namespace. 04-27 11:03:39.749 27864 27864 D ViewRootImpl@9150866[CustomActivity]: MSG_RESIZED: frame=Rect(28, 899 - 1052, 1258) ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=1 04-27 11:03:39.764 27864 27864 D ViewRootImpl@c304743[CustomActivity]: MSG_RESIZED: frame=Rect(0, 0 - 1080, 2094) ci=Rect(0, 63 - 0, 0) vi=Rect(0, 63 - 0, 0) or=1
The UnsatisfiedLinkError is being handled by a try-catch block. I believe QtActivityDelegate is causing the app to never launch.