我正在尝试在一个非常简单的应用程序中使用 Google 地图。我收到警告说 Google Play 服务已过时并且需要 3136100。这只是一个警告,但我的应用程序没有显示任何地图。我再次获得一个按钮来单击它以更新 Google Play 服务,当我单击它时,我得到一个致命异常:
07-03 06:28:07.472: E/AndroidRuntime(860): FATAL EXCEPTION: main
07-03 06:28:07.472: E/AndroidRuntime(860): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=market://details?id=com.google.android.gms flg=0x80000 pkg=com.android.vending }
07-03 06:28:07.472: E/AndroidRuntime(860): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1622)
07-03 06:28:07.472: E/AndroidRuntime(860): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1417)
07-03 06:28:07.472: E/AndroidRuntime(860): at android.app.Activity.startActivityForResult(Activity.java:3370)
07-03 06:28:07.472: E/AndroidRuntime(860): at android.app.Activity.startActivityForResult(Activity.java:3331)
07-03 06:28:07.472: E/AndroidRuntime(860): at android.app.Activity.startActivity(Activity.java:3566)
07-03 06:28:07.472: E/AndroidRuntime(860): at android.app.Activity.startActivity(Activity.java:3534)
07-03 06:28:07.472: E/AndroidRuntime(860): at com.google.android.gms.internal.bb$5.onClick(Unknown Source)
07-03 06:28:07.472: E/AndroidRuntime(860): at android.view.View.performClick(View.java:4204)
07-03 06:28:07.472: E/AndroidRuntime(860): at android.view.View$PerformClick.run(View.java:17355)
07-03 06:28:07.472: E/AndroidRuntime(860): at android.os.Handler.handleCallback(Handler.java:725)
07-03 06:28:07.472: E/AndroidRuntime(860): at android.os.Handler.dispatchMessage(Handler.java:92)
07-03 06:28:07.472: E/AndroidRuntime(860): at android.os.Looper.loop(Looper.java:137)
07-03 06:28:07.472: E/AndroidRuntime(860): at android.app.ActivityThread.main(ActivityThread.java:5041)
07-03 06:28:07.472: E/AndroidRuntime(860): at java.lang.reflect.Method.invokeNative(Native Method)
07-03 06:28:07.472: E/AndroidRuntime(860): at java.lang.reflect.Method.invoke(Method.java:511)
07-03 06:28:07.472: E/AndroidRuntime(860): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
07-03 06:28:07.472: E/AndroidRuntime(860): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
07-03 06:28:07.472: E/AndroidRuntime(860): at dalvik.system.NativeStart.main(Native Method)
在此处输入代码
那么我该怎么做才能用我的应用程序查看地图呢?如何更新 Google Play 服务?