DanielVALAT opened a new issue, #1445:
URL: https://github.com/apache/cordova-android/issues/1445

   # Bug Report
   
   ## Problem
   Application crash when launch from Play Store (Appbundle), but no probleme 
with APK
   
   ### What is expected to happen?
   Application launch
   
   
   ### What does actually happen?
   Crash, no window or anything launched. just received an ANR
   
   ## Information
   06-27 12:19:42.079 18662 18662 E AndroidRuntime: FATAL EXCEPTION: main
   06-27 12:19:42.079 18662 18662 E AndroidRuntime: Process: 
io.aninet.companion, PID: 18662
   06-27 12:19:42.079 18662 18662 E AndroidRuntime: java.lang.RuntimeException: 
Unable to instantiate activity 
ComponentInfo{io.aninet.companion/io.aninet.companion.MainActivity}: 
java.lang.ClassNotFoundException: Didn't find class 
"io.aninet.companion.MainActivity" on path: DexPathList[[zip file 
"/data/app/~~sWz4qul_KjndIS0h84bN3A==/io.aninet.companion-tdXX0h9zkUn8RR35_i3aKw==/base.apk",
 zip file 
"/data/app/~~sWz4qul_KjndIS0h84bN3A==/io.aninet.companion-tdXX0h9zkUn8RR35_i3aKw==/split_config.fr.apk",
 zip file 
"/data/app/~~sWz4qul_KjndIS0h84bN3A==/io.aninet.companion-tdXX0h9zkUn8RR35_i3aKw==/split_config.xxhdpi.apk"],nativeLibraryDirectories=[/data/app/~~sWz4qul_KjndIS0h84bN3A==/io.aninet.companion-tdXX0h9zkUn8RR35_i3aKw==/lib/arm64,
 /system/lib64, /system_ext/lib64]]
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:        at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3613)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:        at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3844)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:        at 
android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:        at 
android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:        at 
android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:        at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2315)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:        at 
android.os.Handler.dispatchMessage(Handler.java:106)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:        at 
android.os.Looper.loopOnce(Looper.java:201)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:        at 
android.os.Looper.loop(Looper.java:288)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:        at 
android.app.ActivityThread.main(ActivityThread.java:7929)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:        at 
java.lang.reflect.Method.invoke(Native Method)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:        at 
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:        at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime: Caused by: 
java.lang.ClassNotFoundException: Didn't find class 
"io.aninet.companion.MainActivity" on path: DexPathList[[zip file 
"/data/app/~~sWz4qul_KjndIS0h84bN3A==/io.aninet.companion-tdXX0h9zkUn8RR35_i3aKw==/base.apk",
 zip file 
"/data/app/~~sWz4qul_KjndIS0h84bN3A==/io.aninet.companion-tdXX0h9zkUn8RR35_i3aKw==/split_config.fr.apk",
 zip file 
"/data/app/~~sWz4qul_KjndIS0h84bN3A==/io.aninet.companion-tdXX0h9zkUn8RR35_i3aKw==/split_config.xxhdpi.apk"],nativeLibraryDirectories=[/data/app/~~sWz4qul_KjndIS0h84bN3A==/io.aninet.companion-tdXX0h9zkUn8RR35_i3aKw==/lib/arm64,
 /system/lib64, /system_ext/lib64]]
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:        at 
dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:259)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:        at 
java.lang.ClassLoader.loadClass(ClassLoader.java:379)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:        at 
java.lang.ClassLoader.loadClass(ClassLoader.java:312)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:        at 
android.app.AppComponentFactory.instantiateActivity(AppComponentFactory.java:95)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:        at 
androidx.core.app.CoreComponentFactory.instantiateActivity(CoreComponentFactory.java:45)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:        at 
android.app.Instrumentation.newActivity(Instrumentation.java:1328)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:        at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3600)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:        ... 12 more
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:        Suppressed: 
java.io.IOException: Failed to open dex files from 
/data/app/~~sWz4qul_KjndIS0h84bN3A==/io.aninet.companion-tdXX0h9zkUn8RR35_i3aKw==/split_config.fr.apk
 because: Entry not found
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
dalvik.system.DexFile.openDexFileNative(Native Method)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
dalvik.system.DexFile.openDexFile(DexFile.java:371)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
dalvik.system.DexFile.<init>(DexFile.java:113)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
dalvik.system.DexFile.<init>(DexFile.java:86)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
dalvik.system.DexPathList.loadDexFile(DexPathList.java:438)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
dalvik.system.DexPathList.makeDexElements(DexPathList.java:397)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
dalvik.system.DexPathList.<init>(DexPathList.java:166)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:160)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:130)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
dalvik.system.PathClassLoader.<init>(PathClassLoader.java:146)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:93)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:134)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:126)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
android.app.ApplicationLoaders.getClassLoaderWithSharedLibraries(ApplicationLoaders.java:61)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:1034)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
android.app.LoadedApk.getClassLoader(LoadedApk.java:1126)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
android.app.LoadedApk.getResources(LoadedApk.java:1374)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
android.app.ContextImpl.createAppContext(ContextImpl.java:3090)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
android.app.ContextImpl.createAppContext(ContextImpl.java:3082)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
android.app.ActivityThread.handleBindApplication(ActivityThread.java:6707)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2141)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                ... 7 more
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:        Suppressed: 
java.io.IOException: Failed to open dex files from 
/data/app/~~sWz4qul_KjndIS0h84bN3A==/io.aninet.companion-tdXX0h9zkUn8RR35_i3aKw==/split_config.xxhdpi.apk
 because: Entry not found
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
dalvik.system.DexFile.openDexFileNative(Native Method)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
dalvik.system.DexFile.openDexFile(DexFile.java:371)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
dalvik.system.DexFile.<init>(DexFile.java:113)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
dalvik.system.DexFile.<init>(DexFile.java:86)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
dalvik.system.DexPathList.loadDexFile(DexPathList.java:438)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
dalvik.system.DexPathList.makeDexElements(DexPathList.java:397)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
dalvik.system.DexPathList.<init>(DexPathList.java:166)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:160)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:130)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
dalvik.system.PathClassLoader.<init>(PathClassLoader.java:146)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:93)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:134)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:126)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
android.app.ApplicationLoaders.getClassLoaderWithSharedLibraries(ApplicationLoaders.java:61)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:1034)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
android.app.LoadedApk.getClassLoader(LoadedApk.java:1126)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
android.app.LoadedApk.getResources(LoadedApk.java:1374)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
android.app.ContextImpl.createAppContext(ContextImpl.java:3090)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
android.app.ContextImpl.createAppContext(ContextImpl.java:3082)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
android.app.ActivityThread.handleBindApplication(ActivityThread.java:6707)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2141)
   06-27 12:19:42.079 18662 18662 E AndroidRuntime:                ... 7 more
   0
   
   
   
   ### Command or Code
   cordova run
   
   ### Environment, Platform, Device
   Windows 10 (21H2)
   Phone side: Android 12 or 13 (same results)
   And Google Play testing devices is showing same problem.
   
   ### Version information
   Cordova 11.0
   Installed platforms:
     android 10.1.2
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [X] I searched for existing GitHub issues
   - [X] I updated all Cordova tooling to most recent version
   - [X] I included all the necessary information above
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to