ICT4Dat / ict4dat-news-android

ICT4D.at's App to combine all ICT4D news into one Android application
Apache License 2.0
5 stars 1 forks source link

Crash Lifecycle Components installing on Android API 19 devices #56

Closed jobguitiche closed 6 years ago

jobguitiche commented 6 years ago

Caused by: java.lang.ClassNotFoundException: Didn't find class "android.arch.lifecycle.ProcessLifecycleOwnerInitializer" on path: DexPathList[[zip file "/data/app/at.ict4d.ict4dnews-2.apk"],nativeLibraryDirectories=[/data/app-lib/at.ict4d.ict4dnews-2, /vendor/lib, /system/lib]]

jobguitiche commented 6 years ago

I added this dependency (implementation "com.android.support:multidex:1.0.3" ) and then I extended MultiDexApplication on ICT4DNewsApplication class.

I found these tips on comments here (https://stackoverflow.com/questions/46304196/unable-to-get-provider-android-arch-lifecycle-lifecycleruntimetrojanprovider-ja/48304196#48304196)

spipau commented 6 years ago

Did you fix the bug already? Would be great if you could create a pull request if you solved it ;)

jobguitiche commented 6 years ago

Yes I already fixed and did the pull request