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

   I have barely the same issue my app crashes when launching the app on a 
device running on Android 11 (only for release apk, debug works fine)
   knowing that I don't have any reference in my app to any resource called 
icon_background (and even when I had added one it also doesn't find it)
   this is the error:
   ` java.lang.RuntimeException: Unable to start activity 
ComponentInfo{pssa.ww.parcelscan/pssa.ww.parcelscan.MainActivity}: 
android.content.res.Resources$NotFoundException: Drawable 
pssa.ww.parcelscan:drawable/icon_background with resource ID #0x7f070060 at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3450) at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3602) at 
android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
 at 
android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
 at 
android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2067) at 
android.os.Handler.dispatchMessage(Handler.java:106) at 
android.os.Looper.loop(Looper.java:223) at 
android.app.ActivityThread.main(ActivityThread.java:7697) 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:952) Caused by: 
android.content.res.Resources$NotFoundException: Drawable 
pssa.ww.parcelscan:drawable/icon_background with resource ID #0x7f070060 Caused 
by: android.content.res.Resources$NotFoundException: File res/Ln.xml from 
drawable resource ID #0x7f070060 at 
android.content.res.ResourcesImpl.loadDrawableForCookie(ResourcesImpl.java:891) 
at android.content.res.ResourcesImpl.loadDrawable(ResourcesImpl.java:673) at 
android.content.res.Resources.loadDrawable(Resources.java:996) at 
android.content.res.Resources.getDrawableForDensity(Resources.java:986) at 
android.content.res.Resources.getDrawable(Resources.java:925) at 
android.content.Context.getDrawable(Context.java:693) at 
androidx.core.splashscreen.SplashScreen$Impl.displaySplashScreenIcon(SplashScreen.kt:354)
 at 
androidx.core.splashscreen.SplashScreen$Impl.setOnExitAnimationListener(SplashScreen.kt:318)
 at android
 
x.core.splashscreen.SplashScreen.setOnExitAnimationListener(SplashScreen.kt:185)
 at 
org.apache.cordova.SplashScreenPlugin.setupSplashScreen(SplashScreenPlugin.java:141)
 at 
org.apache.cordova.SplashScreenPlugin.onMessage(SplashScreenPlugin.java:113) at 
org.apache.cordova.PluginManager.lambda$postMessage$0(PluginManager.java:345) 
at org.apache.cordova.PluginManager$$ExternalSyntheticLambda0.accept(Unknown 
Source:8) at java.util.LinkedHashMap.forEach(LinkedHashMap.java:721) at 
java.util.Collections$SynchronizedMap.forEach(Collections.java:2698) at 
org.apache.cordova.PluginManager.postMessage(PluginManager.java:343) at 
org.apache.cordova.CordovaActivity.init(CordovaActivity.java:161) at 
org.apache.cordova.CordovaActivity.loadUrl(CordovaActivity.java:234) at 
pssa.ww.parcelscan.MainActivity.onCreate(MainActivity.java:40) at 
android.app.Activity.performCreate(Activity.java:8000) at 
android.app.Activity.performCreate(Activity.java:7984) at 
android.app.Instrumentation.callActivityOnCreate(In
 strumentation.java:1310) at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3423) at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3602) at 
android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
 at 
android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
 at 
android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2067) at 
android.os.Handler.dispatchMessage(Handler.java:106) at 
android.os.Looper.loop(Looper.java:223) at 
android.app.ActivityThread.main(ActivityThread.java:7697) 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:952)`


-- 
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