应用程序不适用于API 19或更低版本

时间:2016-11-13 09:23:28

标签: android sdk

E/AndroidRuntime: FATAL EXCEPTION: main
              Process: salis.optimal.com.optimal, PID: 3913
              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/salis.optimal.com.optimal-1.apk"],nativeLibraryDirectories=[/data/app-lib/salis.optimal.com.optimal-1, /vendor/lib, /system/lib]]
                  at android.app.ActivityThread.installProvider(ActivityThread.java:5196)
                  at android.app.ActivityThread.installContentProviders(ActivityThread.java:4788)
                  at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4728)
                  at android.app.ActivityThread.access$1500(ActivityThread.java:166)
                  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1343)
                  at android.os.Handler.dispatchMessage(Handler.java:102)
                  at android.os.Looper.loop(Looper.java:136)
                  at android.app.ActivityThread.main(ActivityThread.java:5584)
                  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:1268)
                  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084)
                  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/salis.optimal.com.optimal-1.apk"],nativeLibraryDirectories=[/data/app-lib/salis.optimal.com.optimal-1, /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:5181)
                  at android.app.ActivityThread.installContentProviders(ActivityThread.java:4788) 
                  at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4728) 
                  at android.app.ActivityThread.access$1500(ActivityThread.java:166) 
                  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1343) 
                  at android.os.Handler.dispatchMessage(Handler.java:102) 
                  at android.os.Looper.loop(Looper.java:136) 
                  at android.app.ActivityThread.main(ActivityThread.java:5584) 
                  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:1268) 
                  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084) 
                  at dalvik.system.NativeStart.main(Native Method) 

当我尝试在v.4.4或更低版本的设备上运行我的应用程序时, 我收到了这条消息,我已经尽力解决了这个问题,但它不起作用。

0 个答案:

没有答案