相关疑难解决方法(0)

如何检测Android应用程序何时在模拟器中运行?

我希望我的代码在模拟器上运行时的运行方式与在设备上运行时的运行方式略有不同.(例如,使用10.0.2.2而不是公共URL自动针对开发服务器运行.)检测Android应用程序何时在模拟器中运行的最佳方法是什么?

android android-emulator

291
推荐指数
21
解决办法
10万
查看次数

在Emulator中更新Google Play服务

我在Google Play上遇到过很多这样的问题,我使用的是Android 4.2.2 API 17.

我的应用需要Google Play服务8.1,它编译得很好,当它在模拟器上运行时会显示"您需要更新Google Play服务"的消息,

当我点击更新时没有任何反应,

如何在不下载任何最新API版本的情况下更新Google Play服务?

android android-emulator google-play google-play-services android-studio

130
推荐指数
7
解决办法
13万
查看次数

如何在Android模拟器中下载Google Play服务?

我想在我的应用程序中使用Google Play Services API,但是当我打开模拟器来测试我的应用程序时,它会向我发送一条消息"必须下载Google Play服务".我知道这是因为我MainActivity在方法中编写了这个测试onResume().
我想知道如何在我的模拟器中安装Google Play服务,因为我很快就需要测试我的地图.

android android-emulator google-play-services google-maps-android-api-2

82
推荐指数
4
解决办法
21万
查看次数

如何在Android Studio模拟器中安装Google Play应用?

我是使用Android Studio的新手,我正在尝试在模拟器上安装Google Play应用.我已经安装了Google RepositoryGoogle Play Services,以及一个Google APIs x86 Atom System Image从SDK管理器,我能够建立谷歌播放服务我的示例应用程序.

我现在想在我的模拟器上安装Google Play应用程序.如何才能做到这一点 ?任何建议或解决方案本身都将非常受欢迎.另外,非常感谢你的时间.

android google-play android-studio

46
推荐指数
4
解决办法
6万
查看次数

我们可以使用 Android-x86 项目 VM 测试应用内计费吗?

医生

To test in-app billing in an application you must install the 
application on an Android-powered device. You cannot use the 
Android emulator to test in-app billing.
Run Code Online (Sandbox Code Playgroud)

但是有人成功测试了 Android x86 VM (http://www.android-x86.org) 吗?

我想虚拟机应该像真实设备一样运行并且应该可以测试?

android in-app-billing android-x86

2
推荐指数
1
解决办法
263
查看次数