如何在Android Studio Emulator上安装Play商店应用程序Google API 23

时间:2016-02-27 05:57:57

标签: android-emulator

我从最新版本的Android Studio AVD中选择了这个模拟器,

Google API 23

我选择了最新版本的Android API 23.因为它说“使用Google API”,我认为它实际上会包含所有Google应用程序,包括Play商店,以便我可以安装像Facebook这样的应用程序。 但是我看不到任何Google Apps。 如何使用Google API23在Android Studio模拟器上安装Gapp?

1 个答案:

答案 0 :(得分:0)

从API24开始,Google会使用Google Play发布模拟器图片。从CLI下载:

yes | sdkmanager "system-images;android-24;google_apis_playstore;x86" \
    "system-images;android-25;google_apis_playstore;x86" \
    "system-images;android-26;google_apis_playstore;x86" \
    "system-images;android-27;google_apis_playstore;x86" \
    "system-images;android-28;google_apis_playstore;x86_64"

或从AndroidStudio下载:

Download google play emulator image