Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoClassDefFoundError #18

Open
alexandrecurtelin opened this issue Mar 8, 2021 · 2 comments
Open

NoClassDefFoundError #18

alexandrecurtelin opened this issue Mar 8, 2021 · 2 comments

Comments

@alexandrecurtelin
Copy link

Using Defold 1.2.179
And extension 1.5.0

Some users (all of them on Android10, but not 100% sure it it's only because my testers are on Android10, could affect other versions) get the following crash:

java.lang.NoClassDefFoundError

java.lang.NoClassDefFoundError: at com.google.firebase.FirebaseApp.<clinit>(com.google.firebase:firebase-common@@16.0.2:152)
at com.google.firebase.FirebaseApp.initializeApp(com.google.firebase:firebase-common@@16.0.2:297)
at com.google.firebase.provider.FirebaseInitProvider.onCreate(com.google.firebase:firebase-common@@16.0.2:53)
  at android.content.ContentProvider.attachInfo (ContentProvider.java:2092)
  at android.content.ContentProvider.attachInfo (ContentProvider.java:2066)
  at com.google.firebase.provider.FirebaseInitProvider.attachInfo
  at android.app.ActivityThread.installProvider (ActivityThread.java:7024)
  at android.app.ActivityThread.installContentProviders (ActivityThread.java:6569)
  at android.app.ActivityThread.handleBindApplication (ActivityThread.java:6464)
  at android.app.ActivityThread.access$1300 (ActivityThread.java:220)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1860)
  at android.os.Handler.dispatchMessage (Handler.java:107)
  at android.os.Looper.loop (Looper.java:214)
  at android.app.ActivityThread.main (ActivityThread.java:7397)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:492)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:935)
@britzl
Copy link
Contributor

britzl commented May 19, 2021

I've been unable to figure out what's wrong here. I have a version using a newer firebase-cpp sdk (7.3.0 instead of 7.1.0): https://github.com/defold/extension-firebase-analytics/archive/refs/heads/dev-update-7.3.0.zip

You could give this version and try and see if it helps.

@britzl
Copy link
Contributor

britzl commented Jul 14, 2021

@alexandrecurtelin any new info on how to reproduce this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants