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)
Related
I'm trying to sign my application on Windows 10 using the following command.
java -jar signapk.jar platform.x509.pem platform.pk8 not_sign.apk sign.apk
And it gives me the following error, please help me !!
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.conscrypt.OpenSSLBIOInputStream.(OpenSSLBIOInputStream.java:34)
at org.conscrypt.OpenSSLX509Certificate.fromX509PemInputStream(OpenSSLX509Certificate.java:119)
at org.conscrypt.OpenSSLX509CertificateFactory$1.fromX509PemInputStream(OpenSSLX509CertificateFactory.java:220)
at org.conscrypt.OpenSSLX509CertificateFactory$1.fromX509PemInputStream(OpenSSLX509CertificateFactory.java:216)
at org.conscrypt.OpenSSLX509CertificateFactory$Parser.generateItem(OpenSSLX509CertificateFactory.java:94)
at org.conscrypt.OpenSSLX509CertificateFactory.engineGenerateCertificate(OpenSSLX509CertificateFactory.java:272)
at java.security.cert.CertificateFactory.generateCertificate(Unknown
Source)
at com.android.signapk.SignApk.readPublicKey(SignApk.java:184)
at com.android.signapk.SignApk.main(SignApk.java:1007) Caused by: java.lang.IllegalArgumentException: Failed to load any of the
given libraries: [conscrypt_openjdk_jni-windows-x86_64,
conscrypt_openjdk_jni]
at org.conscrypt.NativeLibraryLoader.loadFirstAvailable(NativeLibraryLoader.java:160)
at org.conscrypt.NativeCryptoJni.init(NativeCryptoJni.java:49)
at org.conscrypt.NativeCrypto.(NativeCrypto.java:53)
... 9 more
I found some solutions but they are all using Linux instead of Windows. Because of the limitation of my company, Windows is a must.
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)
Im trying to run Unity Project using Vuforia as a library in Android studio. I have added a button that will go to the UnityPlayerActivity. The apps running just fine but after i clicked the button. Only the unity logo appeared and the screen goes black.
This is from the logcat
2019-10-11 03:02:54.469 4448-4481/com.example.myapplication E/Unity: AndroidJavaException: java.lang.ClassNotFoundException: com.vuforia.VuforiaUnityPlayer.VuforiaInitializer
java.lang.ClassNotFoundException: com.vuforia.VuforiaUnityPlayer.VuforiaInitializer
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:453)
at java.lang.Class.forName(Class.java:378)
at com.unity3d.player.UnityPlayer.nativeRender(Native Method)
at com.unity3d.player.UnityPlayer.c(Unknown Source:0)
at com.unity3d.player.UnityPlayer$e$2.queueIdle(Unknown Source:72)
at android.os.MessageQueue.next(MessageQueue.java:395)
at android.os.Looper.loop(Looper.java:160)
at com.unity3d.player.UnityPlayer$e.run(Unknown Source:32)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.vuforia.VuforiaUnityPlayer.VuforiaInitializer" on path: DexPathList[[zip file "/data/app/com.example.myapplication-PaLDsjUgOPrhAiCRyAOD0w==/base.apk"],nativeLibraryDirectories=[/data/app/com.example.myapplication-PaLDsjUgOPrhAiCRyAOD0w==/lib/x86, /data/app/com.example.myapplication-
2019-10-11 03:02:54.520 4448-4488/com.example.myapplication D/NetworkSecurityConfig: No Network Security Config specified, using platform default
2019-10-11 03:02:54.526 4448-4481/com.example.myapplication E/Unity: Vuforia Engine cannot be started before it is initialized.
Please disable Delayed Initializationin the Vuforia configuration or initialize Vuforia manually with the VuforiaRuntime-class.
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
Vuforia.VuforiaARController:Start()
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
System.Delegate:DynamicInvokeImpl(Object[])
System.MulticastDelegate:DynamicInvokeImpl(Object[])
System.Delegate:DynamicInvoke(Object[])
Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])
Vuforia.DelegateHelper:InvokeWithExceptionHandling(Action)
Vuforia.VuforiaBehaviour:Start()
I tried Play 2.6.15 with java 9 and 10 but ended up with the following exception.
[error] a.a.ActorSystemImpl - Uncaught error from thread [application-akka.actor.default-dispatcher-5]: javax/xml/bind/DatatypeConverter, shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem[application]
java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
at io.jsonwebtoken.impl.Base64Codec.decode(Base64Codec.java:26)
at io.jsonwebtoken.impl.DefaultJwtParser.setSigningKey(DefaultJwtParser.java:151)
at play.api.mvc.JWTCookieDataCodec$JWTFormatter.parse(Cookie.scala:677)
at play.api.mvc.JWTCookieDataCodec.decode(Cookie.scala:592)
at play.api.mvc.JWTCookieDataCodec.decode$(Cookie.scala:584)
at play.api.mvc.DefaultJWTCookieDataCodec.decode(Cookie.scala:769)
at play.api.mvc.FallbackCookieDataCodec.decode(Cookie.scala:755)
at play.api.mvc.FallbackCookieDataCodec.decode$(Cookie.scala:746)
at play.api.mvc.DefaultSessionCookieBaker.decode(Session.scala:95)
at play.api.mvc.CookieBaker.decodeFromCookie(Cookie.scala:432)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:466)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:563)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)
at io.jsonwebtoken.impl.Base64Codec.decode(Base64Codec.java:26)
at io.jsonwebtoken.impl.DefaultJwtParser.setSigningKey(DefaultJwtParser.java:151)
at play.api.mvc.JWTCookieDataCodec$JWTFormatter.parse(Cookie.scala:677)
Does Play 2.6.15 support Java 9 and Java 10?
I haven't tried with 9/10, but the installation guide mentions that these versions are not supported.
Play requires Java 1.8.
I am trying to develop an app from meteor.js. I am able to compile and run on Apple devices. But when I try to run on android (meteor run android-device) I get the below error message from terminal. I have tried googling the issue but still could not get a fix!.
Status of the individual requirements:
✓ Java JDK
✓ Android SDK
✗ Android target: avdmanager: Command failed with exit code 1 Error output:
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema
at com.android.repository.api.SchemaModule$SchemaModuleVersion.<init>(SchemaModule.java:156)
at com.android.repository.api.SchemaModule.<init>(SchemaModule.java:75)
at com.android.sdklib.repository.AndroidSdkHandler.<clinit>(AndroidSdkHandler.java:81)
at com.android.sdklib.tool.AvdManagerCli.run(AvdManagerCli.java:213)
at com.android.sdklib.tool.AvdManagerCli.main(AvdManagerCli.java:200)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlSchema
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
... 5 more
✓ Gradle
This is what I did:
meteor remove-platform android
As mentioned by #SamaahRasheed I then went to Android Studio and updated it:
Android Studio > Check for updates
and then also updated everything else Android Studio then recommended I update as well.
Then I made sure JAVA_HOME was at least java 8
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home
Then I re-added android platform:
meteor add-platform android
It may be that one of these was more important than the others, but this worked.