設備 - HTC野火
Android操作系統版本 - 2.3.3Android的谷歌地圖API V2 - 谷歌Play服務
我試圖運行在谷歌地圖API V2的例子電話。
這些都是logcat的消息 -
03-08 12:43:34.687: W/GooglePlayServicesUtil(5517): Google Play services is missing.
03-08 12:43:34.687: W/GooglePlayServicesUtil(5517): Google Play services is missing.
03-08 12:43:34.687: W/GooglePlayServicesUtil(5517): Google Play services is missing.
03-08 12:43:34.697: W/GooglePlayServicesUtil(5517): Google Play services is missing.
而且應用我得到一個按鈕,上面寫着 - 得到谷歌播放服務。
當我點擊按鈕時,我得到一個異常。該logcat的說 -
03-08 12:43:36.847: E/AndroidRuntime(5517): FATAL EXCEPTION: main
03-08 12:43:36.847: E/AndroidRuntime(5517): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=http://play.google.com/store/apps/details?id=com.google.android.gms flg=0x80000 pkg=com.android.vending }
03-08 12:43:36.847: E/AndroidRuntime(5517): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1569)
03-08 12:43:36.847: E/AndroidRuntime(5517): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1539)
03-08 12:43:36.847: E/AndroidRuntime(5517): at android.app.Activity.startActivityForResult(Activity.java:2974)
03-08 12:43:36.847: E/AndroidRuntime(5517): at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:817)
基於上述消息我才知道,谷歌播放服務是缺少我的手機上。
我的手機有市場應用程序(不是谷歌播放)。
幾個問題 -
- 我怎樣才能更新市場到谷歌Play商店?
- 有沒有辦法通過我可以安裝谷歌播放服務? (注意:通過搜索Google Play商店,Google Play服務APK不可見。當客戶端庫檢測到該設備存在缺失或不兼容的Google Play服務APK時,客戶端庫會提供深入鏈接到Google Play商店。)
我會很感激任何幫助。
您是否使用SDK Manager安裝了Google Play服務?它位於「Extras」文件夾中。 – 2013-03-08 07:32:37
@RodionAltshuler:不,我沒有安裝它。你可以讓我知道這樣做的步驟嗎?謝謝。 – Anukool 2013-03-08 07:37:08
1.運行位於Android SDK文件夾中的「SDK Manager.exe」文件。 2.在列表中找到「Google Play服務」(請參閱更靠近底部的「Extras」文件夾),選擇並單擊「安裝軟件包」。 – 2013-03-08 07:38:35