-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Description
When running the debug variant, the app crashes upon start with the following trace:
FATAL EXCEPTION: main
Process: tw.idv.palatis.xappdebug.debug, PID: 23718
java.lang.RuntimeException: Unable to instantiate application tw.idv.palatis.xappdebug.debug.MainApplication: java.lang.ClassNotFoundException: Didn't find class "tw.idv.palatis.xappdebug.debug.MainApplication" on path: DexPathList[[zip file "/data/app/~~zT0yrdrrGzmWVXOkjIqL2Q==/tw.idv.palatis.xappdebug.debug-8fteFcBtqaD1IapNP6ssdA==/base.apk"],nativeLibraryDirectories=[/data/app/~~zT0yrdrrGzmWVXOkjIqL2Q==/tw.idv.palatis.xappdebug.debug-8fteFcBtqaD1IapNP6ssdA==/lib/arm64, /system/lib64, /system_ext/lib64]]
at android.app.LoadedApk.makeApplication(LoadedApk.java:1244)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6683)
at android.app.ActivityThread.access$1300(ActivityThread.java:237)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1913)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7656)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Caused by: java.lang.ClassNotFoundException: Didn't find class "tw.idv.palatis.xappdebug.debug.MainApplication" on path: DexPathList[[zip file "/data/app/~~zT0yrdrrGzmWVXOkjIqL2Q==/tw.idv.palatis.xappdebug.debug-8fteFcBtqaD1IapNP6ssdA==/base.apk"],nativeLibraryDirectories=[/data/app/~~zT0yrdrrGzmWVXOkjIqL2Q==/tw.idv.palatis.xappdebug.debug-8fteFcBtqaD1IapNP6ssdA==/lib/arm64, /system/lib64, /system_ext/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:207)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at android.app.AppComponentFactory.instantiateApplication(AppComponentFactory.java:76)
at androidx.core.app.CoreComponentFactory.instantiateApplication(CoreComponentFactory.java:52)
at android.app.Instrumentation.newApplication(Instrumentation.java:1158)
at android.app.LoadedApk.makeApplication(LoadedApk.java:1236)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6683)
at android.app.ActivityThread.access$1300(ActivityThread.java:237)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1913)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7656)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
As a workaround, removing the applicationIdSuffix in build.gradle seems to fix the issue.
Metadata
Metadata
Assignees
Labels
No labels