相关疑难解决方法(0)

为什么Android模拟器这么慢?我们如何加快Android模拟器的速度?

我  在x86 Windows XP Professional机器上有一个2.67   GHz Celeron处理器和1.21 GB RAM .

我的理解是Android模拟器应该在这样的机器上相当快地启动,但对我来说,它不会.我已经按照设置IDE,SDK,JDK等的所有说明进行操作,并且在快速启动模拟器方面取得了一些成功,但这种情况非常罕见.如果可能的话,我怎样才能解决这个问题?

即使它启动并加载主屏幕,它也非常缓慢.我在3.5版(Galileo)和3.4版(Ganymede)中尝试过Eclipse IDE.

performance android qemu android-emulator genymotion

3356
推荐指数
51
解决办法
104万
查看次数

如何在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万
查看次数

模拟器中缺少Google Play服务(Android 4.4.2)

对于我在下面的模拟器,我收到错误消息"Google Play Services未安装在设备上".

根据开发者网站,它说" 具有AVD的Android模拟器运行基于Android 4.2.2或更高版本的Google API平台.

无法理解模拟器是否正在运行4.4.2那么为什么谷歌播放服务不存在?

在此输入图像描述

在此输入图像描述

一些相关的线程,但没有解决方案.(添加这些只是为了指出这个问题并不重复): 相关的线程 相关的线程

android emulation google-play-services

44
推荐指数
2
解决办法
10万
查看次数

棒棒糖在Genymotion上的Google Play服务(Android 5.0)

似乎无法在Android 5.0 API 21(Lollipop)上找到任何支持Google Play服务的内容,这似乎是主题或谷歌上的规范主题.有没有人对此有任何见解?

我熟悉下载gapps包和安装的做法,让它在Kitkat和Jellybean上工作就好了.如果我在5.0上试用它们,这两个安装包似乎都会阻塞VM

随着最近的Genymotion升级,我希望他们能够增强兼容性,但我似乎无法找到任何提示.

android google-play-services genymotion android-5.0-lollipop

36
推荐指数
1
解决办法
6万
查看次数

如何在Android模拟器上运行适用于Android 4的新Chrome?

我希望能够测试我在新的Android版Chrome中开发的基于网络的应用.我确实安装了Chrome Beta apk,但每当我尝试在地址栏中输入网址时,浏览器都会崩溃说"不幸的是Chrome已经停止运行".

我没有SmartPhone,但我需要测试,因为我的客户端将使用运行Android 4+的设备

我在OSX Lion 10.7.4上运行Android Emulator.我的模拟器规格:

Model #: sdk
Android version: 4.1.1
Kernel version: 2.6.29-gc497e41
Build #: sdk-eng 4.1.1 JRO03E 403059 test-keys
Run Code Online (Sandbox Code Playgroud)

显然,获取新Chrome的唯一方法是通过Google Play应用程序,这不是模拟器附带的默认应用程序,因此我按照此帖子中的说明安装并运行了Google Play应用程序:Google Play在Android 4.0模拟器上

我不得不在Play商店应用中搜索Chrome.一旦找到,它说与我的设备不兼容,没有按钮下载它.

Play网站上有关适用于AndroidChrome浏览器的信息:

CURRENT VERSION:
18.0.1025308
REQUIRES ANDROID:
4.0 and up
Run Code Online (Sandbox Code Playgroud)

无论如何都要在我的模拟器上运行最新的Chrome?Android Emulator开发人员何时能够在新发布的Android版Chrome中进行测试和开发?

android google-chrome android-emulator google-play chrome-for-android

8
推荐指数
1
解决办法
4013
查看次数

AVD无法使用AVD测试任何应用程序

我有一个非常奇怪的问题,我使用运行4.0.3操作系统的HTC One V开发了我的应用程序.现在应用程序在我的和其他很少的其他2.2和2.3和4+设备上工作非常好,但是在某些设备上,尽管它们上面有GooglePlayStore,应用程序启动并加载但不显示其他地图,尽管它们上面有GPStore应用程序崩溃说GPStore /服务不存在.

我试图在AVD Devies上测试应用程序,但没有一个安装了GooglePlayStore.我尝试使用Android 4.0模拟器上的Google Play将GPS推送给他们,但没有成功.

我的droid SDK已完全更新:
在此输入图像描述

我编译我的应用程序 在此输入图像描述

在我的主要活动中,我会检查Google Play服务/商店是否存在,以确定是否可以使用GoogleMaps:

public class Map extends FragmentActivity implements Observer
{
  private MapAgent agent;
  private Locator  locator;
  private Spinner  spinner;
  private Button   gps;

  @Override
  protected void onCreate(Bundle savedInstanceState)
  {
    super.onCreate(savedInstanceState);

    // Get a new instance of Locator agent
    locator = new Locator();

    // Register as Observer to Locator agent
    locator.addObserver(this);

    // Check if Internet connection is available
    if(Services.connectivityServiceState(this))
    {
      // We have a working Internet connection
      // Check …
Run Code Online (Sandbox Code Playgroud)

java android google-maps

8
推荐指数
2
解决办法
493
查看次数

由于错误2,GooglePlayServices不可用

我正在尝试在我的Android应用中使用Google云端硬盘.目前我只想在谷歌硬盘上显示文件名.我使用本教程https://developers.google.com/drive/quickstart-android 在我的应用中设置了google云端硬盘帐户,这个https://developers.google.com/drive/v2/reference/files/list检索文件列表.

为此,我必须创建一个异步任务:

private class getCloudContentTask extends AsyncTask<Void, Void, Void> {

    protected void onPostExecute() {
        updateList();
    }

    @Override
    protected Void doInBackground(Void... arg0) {
        cloudFiles = getCloudContent();
        return null;
    }
}
Run Code Online (Sandbox Code Playgroud)

getCloudContent基本上是教程中的retrieveAllFiles函数.

但是我总是收到一些警告和错误,文件将不会显示.

01-09 19:39:31.347: W/dalvikvm(27926): VFY: unable to resolve static field 1488 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;
01-09 19:39:31.347: D/dalvikvm(27926): VFY: replacing opcode 0x60 at 0x0004
01-09 19:39:31.446: W/GooglePlayServicesUtil(27926): Google Play services out of date.  Requires 2012100 but found 1015
01-09 19:39:31.446: E/GoogleAuthUtil(27926): GooglePlayServices not available due to error …
Run Code Online (Sandbox Code Playgroud)

android google-api google-drive-api google-play-services

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