Android虚拟设备安装Google API Intel Atom

时间:2014-11-25 03:41:54

标签: android eclipse eclipse-plugin google-api avd

我正在使用android虚拟设备进行android开发。 每次我想使用目标Google API(Google Inc.)创建AVD - API级别21时,AVD管理器会显示消息

This AVD may not work unless you install the Google APIs Intel Atom (x86) system image for Android 5.0 (API 21) first.

在此之前,我使用的是Android 5.0 - API 21级目标。 我该怎么做才能使用Google API目标

1 个答案:

答案 0 :(得分:2)

您需要首先在Android SDK中安装Google APIs Intel x86 Atom System Image,但对于您创建的64位系统映像,需要Google APIs Intel x86 Atom_64 System Image。请注意,您始终需要为每个Android SDK API级别安装Google APIs System Image。但它不适用于Android 4.4W(API级别20)。

创建手机AVD需要的最低要求是什么?

打开SDK并安装以下内容:

  1. SDK Platform
  2. Google APIs(如果在您的SDK上找到)。
  3. ARM EABI v7a System ImageGoogle APIs Intel x86 Atom System Image(根据您在AVD的CPU / ABI上使用的系统映像选择一个)。
  4. Google APIs ARM EABI v7a System Image(如果在您的SDK上找到,并且您将使用ARM EABI v7a系统映像作为AVD的CPU / ABI)。
  5. Google APIs (x86 System Image)Google APIs (ARM System Image)(选择一个)。
  6. Intel x86 Atom System Image(如果您使用ARM EABI v7a系统映像,请不要安装。)
  7. 创建您的AVD。
  8. 注意:

    1. 根据您将使用的系统映像选择其中一个。仅限ARM EABI v7a或Intel Atom x86。
    2. 如果您使用Intel Atom x86 System Image,则需要先安装“Intel HAXM”(在Google上搜索)。仅当计算机的处理器强大且速度足够时,此系统映像才支持。我的PC使用的是Intel Core 2 Duo @ 2.93 GHz E7500,但不支持使用Intel HAXM(这意味着我不能使用Intel Atom x86 System Image作为我的AVD的CPU / ABI。所以我需要升级我的PC的CPU )。