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

CRASH for Android 4.4 #180

Open
sujay-bidchat opened this issue Jul 20, 2018 · 5 comments
Open

CRASH for Android 4.4 #180

sujay-bidchat opened this issue Jul 20, 2018 · 5 comments

Comments

@sujay-bidchat
Copy link

sujay-bidchat commented Jul 20, 2018

@corymsmith Hi, I get a crash on released application for Android 4.4. I've provided the details below.

react-native: 0.47.1
react-native-fabric: 0.5.0

I get a crash for Android 4.4

at io.fabric.sdk.android.Kit.<init> (Kit.java:43)
  at com.crashlytics.android.answers.Answers.<init> (Answers.java:20)
  at com.crashlytics.android.Crashlytics.<init> (Crashlytics.java:29)
  at com.collabspace.collabspaceapp.MainApplication.onCreate (MainApplication.java:101)
  at android.app.Instrumentation.callApplicationOnCreate (Instrumentation.java:1007)
  at android.app.ActivityThread.handleBindApplication (ActivityThread.java:4572)
  at android.app.ActivityThread.access$1500 (ActivityThread.java:151)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1402)
  at android.os.Handler.dispatchMessage (Handler.java:110)
  at android.os.Looper.loop (Looper.java:193)
  at android.app.ActivityThread.main (ActivityThread.java:5323)
  at java.lang.reflect.Method.invokeNative (Native Method)
  at java.lang.reflect.Method.invoke (Method.java:515)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:828)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:644)
  at dalvik.system.NativeStart.main (Native Method)
@nes123
Copy link

nes123 commented Aug 17, 2018

with the last package, with react-native 0.56, for andorid 4.4 I get

Exception java.lang.NoClassDefFoundError: io.fabric.sdk.android.services.common.FirebaseInfo

@appai
Copy link

appai commented Aug 20, 2018

any solution for this issue?

@nes123
Copy link

nes123 commented Aug 20, 2018

After fixing all the multidex setup I got rid of this crash.
https://stackoverflow.com/questions/44140496/how-do-i-enable-multidex-for-react-native

@mathiastambjergsteengaard

@nes123 Which answer did it for you. I already have multidexenabled: true (The first answer) but still get the crash

@chinloongtan
Copy link

Update the extends Application to extends MultiDexApplication works for me.

https://stackoverflow.com/a/56875424/4508934

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

5 participants