gpt4 book ai didi

android - 将 Android Studio 2.0 模拟器与 Google 服务一起使用

转载 作者:塔克拉玛干 更新时间:2023-11-02 21:37:09 29 4
gpt4 key购买 nike

根据 Android 开发者博客中的一篇文章,关于 release of Android Studio 2.0 :

Android Emulator - The new emulator runs ~3x faster than Android’s previous emulator, and with ADB enhancements you can now push apps and data 10x faster to the emulator than to a physical device. Like a physical device, the official Android emulator also includes Google Play Services built-in, so you can test out more API functionality. Finally, the new emulator has rich new features to manage calls, battery, network, GPS, and more.

太棒了!这正是我们所需要的。在文章的后面,他们解释了我们如何在我们的模拟器中获取 Google Play 服务。

Trying out the new emulator is as easy as updating your SDK Tools to 25.1.1 or higher, create a fresh Android Virtual Device using one of the recommended x86 system images and you are ready to go. Learn more about the Android Emulator by checking out the documentation.

我安装了 SDK Tools 25.1.1。我有一个运行 x86 系统镜像的全新 Android 虚拟设备。

没有谷歌播放服务:-(

我错过了什么?

最佳答案

当您创建虚拟设备时,请务必选择“with Google APIs”。如果这不是一个选项,您将必须使用 Android SDK 管理器为您要使用的每个 API 级别下载 Google API。

关于android - 将 Android Studio 2.0 模拟器与 Google 服务一起使用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36509151/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com