Fatal Exception: java.lang.RuntimeException Could not get application info - java

Fatal Exception: java.lang.RuntimeException
Could not get application info.
kx0.a (kx0.java:11)
org.chromium.content.browser.ChildProcessLauncherHelperImpl.a (ChildProcessLauncherHelperImpl.java:37)
Bc2.run (Bc2.java:5)
android.os.Handler.handleCallback (Handler.java:873)
android.os.HandlerThread.run (HandlerThread.java:65)
For search, I think this relative with https://chromium.googlesource.com/chromium/src/+/master/content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncherHelperImpl.java, and I use webview in my app.
Is using webview relative with this error?
But, I really don't know what's this error and how to fix this error.
+) This crash caused in Galaxy Wide2, Android 9(Pie)

Related

Android Studio CheckAarMetadataWorkAction problem

I am getting this error message while running an app on android studio
Caused by:
org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException:
A failure occurred while executing
com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
Expecting some solutions for the Problem

java.lang.RuntimeException: Unable to start activity: com.google.android.apps.messaging.ui.conversationlist.ShareIntentActivity - Resources not found

I created a game on Unity for Android. I got this error when uploading an update of my build on Google Play:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.google.android.apps.messaging/com.google.android.apps.messaging.ui.conversationlist.ShareIntentActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x7f08014a
I only changed the sound volume in the update, so I guess the issue was already there in the previous builds but not detected.
I used visual scripting. I only have5 scripts downloaded from internet:
to allow to take a screenshot and share it on a platform when
pressing a button
to adapt the game to the screen resolution of the device
to authenticate to Google Play and send the score to the leaderboard
to trigger an event when the Unity ad did finish
to keep playing the music when reloading the scene
Here is the detail of the issue:
FATAL EXCEPTION: main
Process: com.google.android.apps.messaging, PID: 30735
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.google.android.apps.messaging/com.google.android.apps.messaging.ui.conversationlist.ShareIntentActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x7f08014a
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2805)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2883)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1613)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6523)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:857)
Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f08014a
at android.content.res.ResourcesImpl.getValueForDensity(ResourcesImpl.java:229)
at android.content.res.Resources.getDrawableForDensity(Resources.java:876)
at android.content.res.Resources.getDrawable(Resources.java:819)
at android.content.Context.getDrawable(Context.java:605)
at ym.a(PG:15)
at com.google.android.apps.messaging.ui.common.ListEmptyView.a(PG:5)
at nog.c(PG:20)
at cy.b(PG:48)
at nol.b(PG:15)
at android.support.v4.app.Fragment.g(PG:120)
at em.f(PG:71)
at ee.a(PG:447)
at ee.c(PG:436)
at ee.d(PG:395)
at ee.a(PG:427)
at ee.b(PG:327)
at ee.a(PG:535)
at ee.c(PG:217)
at ee.c(PG:109)
at ee.i(PG:61)
at di.onStart(PG:114)
at ma.onStart(PG:128)
at vit.onStart(PG:60)
at lkx.onStart(PG:33)
at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1334)
at android.app.Activity.performStart(Activity.java:7033)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2768)
... 9 more
I am not a programmer so I don't know where to start. The error is about com.google.android.apps.messaging/com.google.android.apps.messaging.ui.conversationlist.ShareIntentActivity
So maybe it is related to script to share a screenshot?
Thank you!
I got the same error just now, complaining about that exact resource ID 0x7f08014a. It's not an error in your app. Looks like Google has some resource bug in their messaging app.
If you view the test-run video, I believe you will see something like Google's messaging app being started. Perhaps from a share button?

java.lang.NoClassDefFoundError: how fixed it?

Hello fried my app is app live on playstore it work many devices perfect recently i open my developer console and check crash reporting from developer console i received this error from developer console from this device Tecno Pouvoir 3 Air (TECNO-LC6), Android 9
i know its not very common device i want to know why its give me this exception
java.lang.NoClassDefFoundError:
at ly.b (com.google.android.gms.policy_ads_fdr_dynamite#20290002#20290002.249178941.249178941:2)
at lx.a (com.google.android.gms.policy_ads_fdr_dynamite#20290002#20290002.249178941.249178941:1)
at lz.a (com.google.android.gms.policy_ads_fdr_dynamite#20290002#20290002.249178941.249178941:29)
at com.google.android.gms.ads.internal.util.aq.a (com.google.android.gms.policy_ads_fdr_dynamite#20290002#20290002.249178941.249178941:10)
at lc.a (com.google.android.gms.policy_ads_fdr_dynamite#20290002#20290002.249178941.249178941:8)
at lc.run (com.google.android.gms.policy_ads_fdr_dynamite#20290002#20290002.249178941.249178941:2)
Caused by: java.lang.ClassNotFoundException:
at dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java:134)
at java.lang.ClassLoader.loadClass (ClassLoader.java:379)
at ad.loadClass (com.google.android.gms.dynamite_dynamiteloader#18456111#18.4.56 (110304-262845133):4)
at java.lang.ClassLoader.loadClass (ClassLoader.java:312)

java.lang.NoSuchFieldException: MEMORY

I've got a slight issue with my app once I enable proguard. The error that im getting is this following:
FATAL EXCEPTION: RxCachedThreadScheduler-2
Process: com.my.package, PID: 8032
io.b.c.d: java.lang.NoSuchFieldException: MEMORY
As the error only occurs when proguard is enabled I'm guessing its something to do with the proguard rules? Any help will be appreciated

java.lang.NoClassDefFoundError: java.awt.Image in android

I am facing the following issue in Android.
FATAL EXCEPTION: main
Process: pkg.demo, PID: 22090
java.lang.NoClassDefFoundError: java.awt.Image
at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl.(RuntimeBuiltinLeafInfoImpl.java:372)
at com.sun.xml.bind.v2.model.impl.RuntimeTypeInfoSetImpl.(RuntimeTypeInfoSetImpl.java:65)
at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:133)
at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:85)
at com.sun.xml.bind.v2.model.impl.ModelBuilder.(ModelBuilder.java:156)
at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.(RuntimeModelBuilder.java:93)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:455)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.(JAXBContextImpl.java:303)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.(JAXBContextImpl.java:142)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1174)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:162)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:202)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:363)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522)
The cause of your problem is in the first line of the exception:
FATAL EXCEPTION: main Process: pkg.demo, PID: 22090 java.lang.NoClassDefFoundError: java.awt.Image at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl.
Android cannot find the class java.awt.Image. This is because Image is an AWT class; AWT is a toolkit that does not exist in Android.
This error originates at com.sun.xml.bind.v2.modle.impl.RuntimeBuiltinLeafInfoImpl. So, it seems you've added a library that relies upon AWT.
The solution is to see if this library has been ported to Android; then use the Android port.
If there is no port, you'll have to find another library.

Categories