我正在尝试使用android sdk运行附带在play服务附加组件中的示例auth。但是,无论我尝试什么,它都会继续崩溃。
05-27 22:52:15.985: E/AndroidRuntime(13012): java.lang.VerifyError: com/google/android/gms/auth/sample/helloauth/GetNameInBackground
05-27 22:52:15.985: E/AndroidRuntime(13012): at com.google.android.gms.auth.sample.helloauth.HelloActivity.getTask(HelloActivity.java:187)
05-27 22:52:15.985: E/AndroidRuntime(13012): at com.google.android.gms.auth.sample.helloauth.HelloActivity.access$5(HelloActivity.java:182)
05-27 22:52:15.985: E/AndroidRuntime(13012): at com.google.android.gms.auth.sample.helloauth.HelloActivity$3.onClick(HelloActivity.java:173)
05-27 22:52:15.985: E/AndroidRuntime(13012): at android.view.View.performClick(View.java:4084)
05-27 22:52:15.985: E/AndroidRuntime(13012): at android.view.View$PerformClick.run(View.java:16966)
05-27 22:52:15.985: E/AndroidRuntime(13012): at android.os.Handler.handleCallback(Handler.java:615)
05-27 22:52:15.985: E/AndroidRuntime(13012): at android.os.Handler.dispatchMessage(Handler.java:92)
05-27 22:52:15.985: E/AndroidRuntime(13012): at android.os.Looper.loop(Looper.java:137)
05-27 22:52:15.985: E/AndroidRuntime(13012): at android.app.ActivityThread.main(ActivityThread.java:4931)
05-27 22:52:15.985: E/AndroidRuntime(13012): at java.lang.reflect.Method.invokeNative(Native Method)
05-27 22:52:15.985: E/AndroidRuntime(13012): at java.lang.reflect.Method.invoke(Method.java:511)
05-27 22:52:15.985: E/AndroidRuntime(13012): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
05-27 22:52:15.985: E/AndroidRuntime(13012): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:558)
05-27 22:52:15.985: E/AndroidRuntime(13012): at dalvik.system.NativeStart.main(Native Method)
我错过了什么?
答案 0 :(得分:1)
我通过做以下事情解决了这个问题。我希望它能为您解决问题:
这对我有用。