Closed amingle4 closed 6 years ago
I see the FAQ on how to provide the log, so I'll have to try and see if I can figure it out.
Yup - please try to follow http://www.android-photo-frame.eu/faq.html section "Reporting crashes"
Let's try this. If you need more, let me know. Hopefully this includes the relevant sections:
E/AndroidRuntime( 8015): FATAL EXCEPTION: main
E/AndroidRuntime( 8015): Process: sk.baka.photoframe, PID: 8015
E/AndroidRuntime( 8015): java.lang.NoClassDefFoundError: io.fabric.sdk.android.InitializationTask
E/AndroidRuntime( 8015): at io.fabric.sdk.android.Kit.<init>(Kit.java:45)
E/AndroidRuntime( 8015): at com.crashlytics.android.answers.Answers.<init>(Answers.java:20)
E/AndroidRuntime( 8015): at com.crashlytics.android.Crashlytics.<init>(Crashlytics.java:29)
E/AndroidRuntime( 8015): at sk.baka.photoframe.App.onCreate(App.java:97)
E/AndroidRuntime( 8015): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013)
E/AndroidRuntime( 8015): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4615)
E/AndroidRuntime( 8015): at android.app.ActivityThread.access$1600(ActivityThread.java:169)
E/AndroidRuntime( 8015): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1340)
E/AndroidRuntime( 8015): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 8015): at android.os.Looper.loop(Looper.java:146)
E/AndroidRuntime( 8015): at android.app.ActivityThread.main(ActivityThread.java:5487)
E/AndroidRuntime( 8015): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 8015): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 8015): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
E/AndroidRuntime( 8015): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
E/AndroidRuntime( 8015): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 2264): Force finishing activity sk.baka.photoframe/.frame.PhotoFrameActivity
Good job, that's exactly what I need.
So the Crash reporting tool crashes, and on top of that, only on certain Android versions so that I can't reproduce on my phones. How typical of Android. sigh what a shitty platform.
According to https://stackoverflow.com/questions/32097150/fabric-crashlytics-noclassdeffounderror-only-on-certain-devices it may have something to do with Multidex. I tried to force the multidex initialization a bit sooner, let's try whether it helps or not.
I will also force the Crashlytics to a certain version, the +
notation is just plain stupid.
Or this is helpful: https://docs.fabric.io/android/changelog.html#february-28-2018 I'll upgrade Crashlytics to 2.9.1, let's see what happens.
Ok, still working on my phone. Closing as fixed in 1.11.5 - please test when 1.11.5 is out.
ps: which phone do you have? Is it Android 4.x by any chance?
Not yet fixed, reproducible on Android 4.x and lower. Caused by https://github.com/mvysny/slf4j-handroid/issues/5
Your conclusion is correct - I did upgrade to 1.11.5, and it is still not working. And correct that it is an Android 4 tablet (I have a newer tablet I'm going to be moving to eventually, but haven't had time yet). I don't have a way to get my old tablet to Android 5. Let me know if there's anything else I can provide.
Fixed in 1.11.6 - please try it out and let me know.
That's the ticket - thanks for the quick fix. Glad to be back up and running.
Reference https://github.com/mvysny/photocloud-frame-slideshow/issues/80#issuecomment-380682843
Unsure what to do to provide the requested logs.