java.lang.NoClassDefFoundError的:com.google.android.gms.common.AccountPicker [英] java.lang.NoClassDefFoundError: com.google.android.gms.common.AccountPicker
问题描述
好吧,我已经失去了很多睡眠过这一点,我似乎无法找到问题所在。
Ok, I have been losing a lot of sleep over this, I can not seem to find what the issue is.
我试图整合谷歌驱动器与我的工作有一个队的一大应用。
I am trying to integrate google drive with a big application I am working on with a team. .
下面是logcat中吐出来的:
Here is what logcat spits out:
02-09 10:13:40.979: E/AndroidRuntime(9768): java.lang.NoClassDefFoundError: com.google.android.gms.common.AccountPicker
02-09 10:13:40.979: E/AndroidRuntime(9768): at com.google.api.client.googleapis.extensions.android.gms.auth.GoogleAccountCredential.newChooseAccountIntent(GoogleAccountCredential.java:171)
02-09 10:13:40.979: E/AndroidRuntime(9768): at graef.mobile.activities.DriveHandler.onCreate(DriveHandler.java:36)
02-09 10:13:40.979: E/AndroidRuntime(9768): at android.app.Activity.performCreate(Activity.java:4465)
02-09 10:13:40.979: E/AndroidRuntime(9768): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
02-09 10:13:40.979: E/AndroidRuntime(9768): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2033)
02-09 10:13:40.979: E/AndroidRuntime(9768): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2104)
02-09 10:13:40.979: E/AndroidRuntime(9768): at android.app.ActivityThread.access$600(ActivityThread.java:132)
02-09 10:13:40.979: E/AndroidRuntime(9768): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1157)
02-09 10:13:40.979: E/AndroidRuntime(9768): at android.os.Handler.dispatchMessage(Handler.java:99)
02-09 10:13:40.979: E/AndroidRuntime(9768): at android.os.Looper.loop(Looper.java:137)
02-09 10:13:40.979: E/AndroidRuntime(9768): at android.app.ActivityThread.main(ActivityThread.java:4575)
02-09 10:13:40.979: E/AndroidRuntime(9768): at java.lang.reflect.Method.invokeNative(Native Method)
02-09 10:13:40.979: E/AndroidRuntime(9768): at java.lang.reflect.Method.invoke(Method.java:511)
02-09 10:13:40.979: E/AndroidRuntime(9768): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
02-09 10:13:40.979: E/AndroidRuntime(9768): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
02-09 10:13:40.979: E/AndroidRuntime(9768): at dalvik.system.NativeStart.main(Native Method)
我有我需要的所有库,我也得到了一些多DEX错误。所以我没有什么在我的libs文件夹,因为我发现,作为解决因/双罐在库中的问题和/箱/ dexedLibs
I have all the libraries I need, I have also gotten a few Multiple dex errors. so I have nothing in my libs folder because I found that as a solution to that problem because of double jars in /libs and /bin/dexedLibs
任何帮助将大大被AP preciated
Any help would much be appreciated
让我知道我需要什么其他的信息来提供。
Let me know what other information I need to provide.
推荐答案
我需要确保我有谷歌发挥进口和检查服务订单和出口
I needed to make sure I had google play service imported and checked in order and export
这篇关于java.lang.NoClassDefFoundError的:com.google.android.gms.common.AccountPicker的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!