如何建立与谷歌的API为Intel x86原子图像AVD? [英] How to create avd with google api for Intel x86 atom image?

查看:238
本文介绍了如何建立与谷歌的API为Intel x86原子图像AVD?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Android的API为15的应用程序的开发,
我使用了Android的图像是英特尔的x86原子。

I am using android-API 15 for development of an app, The android image I am using is Intel's x86 atom.

我可以创建使用标准的API-15的Andr​​oid模拟器AVD图像而不是与谷歌的API,因为AVD管理不显示在x86原子图像的任何选项。它确实只手臂,但图像的胳膊味运行很慢我的英特尔机器上,

I can create AVD image for the android emulator using standard API-15 but not with Google API, because avd manager does not show any any options for x86 atom image. It does for arm only but the Arm flavour of the Image runs very slow on my Intel machine,

任何想法我怎么能建立与谷歌API -15原子x86的形象?而不是简单的API-15

Any ideas how can I set up the x86 atom image with Google API -15 ? rather than plain APi-15

感谢您

推荐答案

我想通了,

需要遵循这些步骤,


  • 在模拟器中运行基于ARM Android的形象,

  • 拔出从/系统/框架和/系统的/ etc /许可/
  • 2谷歌地图文件
  • 关闭模拟器,

  • 启动模拟器使用x86图像(API-10或15版本为准你用来从拉)

  • 推动我们在前面拉到同一个地方,
  • 这两个文件
  • 推mkfs.yaffs2.x86 thiscan从下载的http:// code.google.com / p / Android的组 - - 韩国/下载/详细名称= mkfs.yaffs2.x86

  • 亚行推mkfs.yaffs2.x86 /数据

  • 亚行外壳

  • CD /数据

  • 搭配chmod 777 mkfs.yaffs2.x86

  • ./ mkfs.yaffs2.x86 /系统system.img

  • 退出

  • 关闭模拟器

  • 替换现有system.img新system.img

  • 使用x86图像运​​行模拟器,它现在应该支持谷歌的API

  • run arm based android image in emulator,
  • pull out 2 google map files from /system/framework and /system/etc/permissions/
  • turn off emulator,
  • start emulator with x86 image (API-10 or 15 whichever version you used to pull from)
  • push the two files we pulled earlier to same place,
  • push mkfs.yaffs2.x86 thiscan be download from http://code.google.com/p/android-group- - korea/downloads/detail?name=mkfs.yaffs2.x86
  • adb push mkfs.yaffs2.x86 /data
  • adb shell
  • cd /data
  • chmod 777 mkfs.yaffs2.x86
  • ./mkfs.yaffs2.x86 /system system.img
  • exit
  • turn off emulator
  • replace new system.img with existing system.img
  • run emulator with x86 image and it should now support google apis

这篇关于如何建立与谷歌的API为Intel x86原子图像AVD?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆