2017-02-21 83 views
1

我已經下載了一個示例項目。它需要10.2.0 Play服務,所以我無法將build.gradle中的編譯版本更改爲較低版本。錯誤:請在Android模擬器中更新您的Google Play服務(版本應爲10.2.0)

我都跟着其他SO問題:

Android Studio with Google Play Services How to update Google Play Services for Android Studio 2.2 emulators? updating Google play services in Emulator

我還下載了最新的谷歌遊戲服務,安裝必要的軟件開發工具包,乾淨的構建工程,同步搖籃,使用API​​ 24和我的模擬器的API25。

它沒有效果,我的Play服務仍在使用10.0.8。以下是我的Android Studio設置的屏幕截圖。

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

回答

0

刪除模擬器,並在SDK管理器,還刪除其該模擬器建SDK平臺。

然後,重新下載該SDK平臺並重新構建您的模擬器。

爲什麼?

如果您下載了SDK平臺並構建了該模擬器後,Google Play服務已經有更新,則舊版Google Play服務可能仍在該SDK平臺的構建中。

相關問題