Soru & Cevap

FATAL EXCEPTİON:main hatası

21.06.2017 - 05:19

Android Studio üzerinde geliştirmekte olduğum bir projede ilk olarak android sürüm sıkınıtısı yaşamaktaydım.Bu sorunu minimumSDK ayarlarmaları ile çöztüm sanırsam.Daha sonra android sürümü 5.0 altında olan bir telefonda uygulmamı run etmeye çalıştığımda aşağıdaki hataları alıyorum.5.0 üzeri telefonlarda sağlıklı çalışıyor uygulama.

 

HATA - MESAJI

06-21 17:14:11.187 19805-19805/com.example.aso.whatsnearme E/AndroidRuntime: FATAL EXCEPTION: main
                                                                             Process: com.example.aso.whatsnearme, PID: 19805
                                                                             java.lang.RuntimeException: Unable to get provider com.google.firebase.provider.FirebaseInitProvider: java.lang.ClassNotFoundException: Didn't find class "com.google.firebase.provider.FirebaseInitProvider" on path: DexPathList[[zip file "/data/app/com.example.aso.whatsnearme-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.example.aso.whatsnearme-2, /vendor/lib, /system/lib]]
                                                                                 at android.app.ActivityThread.installProvider(ActivityThread.java:5026)
                                                                                 at android.app.ActivityThread.installContentProviders(ActivityThread.java:4597)
                                                                                 at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4530)
                                                                                 at android.app.ActivityThread.access$1500(ActivityThread.java:155)
                                                                                 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1385)
                                                                                 at android.os.Handler.dispatchMessage(Handler.java:110)
                                                                                 at android.os.Looper.loop(Looper.java:193)
                                                                                 at android.app.ActivityThread.main(ActivityThread.java:5307)
                                                                                 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:831)
                                                                                 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:647)
                                                                                 at dalvik.system.NativeStart.main(Native Method)
                                                                              Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.firebase.provider.FirebaseInitProvider" on path: DexPathList[[zip file "/data/app/com.example.aso.whatsnearme-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.example.aso.whatsnearme-2, /vendor/lib, /system/lib]]
                                                                                 at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
                                                                                 at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
                                                                                 at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
                                                                                 at android.app.ActivityThread.installProvider(ActivityThread.java:5011)
                                                                                 at android.app.ActivityThread.installContentProviders(ActivityThread.java:4597)
                                                                                 at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4530)
                                                                                 at android.app.ActivityThread.access$1500(ActivityThread.java:155)
                                                                                 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1385)
                                                                                 at android.os.Handler.dispatchMessage(Handler.java:110)
                                                                                 at android.os.Looper.loop(Looper.java:193)
                                                                                 at android.app.ActivityThread.main(ActivityThread.java:5307)
                                                                                 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:831)
                                                                                 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:647)
                                                                                 at dalvik.system.NativeStart.main(Native Method)
06-21 17:16:09.568 19805-19805/com.example.aso.whatsnearme I/Process: Sending signal. PID: 19805 SIG: 9

 

 

 

 

 

1,102 Görüntülenme

1 Cevap

Sitedeki sorulara cevap verebilmek için giriş yapın ya da üye olun.

picture-84564-1548924191.jpg
emrekaplan606
22.06.2017 - 08:10

Merhaba,

yorumları detaylı incele çözüm olabilir. 

https://stackoverflow.com/questions/17573044/firebase-for-android-sdk-support