如何在模拟器上安装Android Market的应用程序?
问题描述:
我不能够通过仿真器访问Android电子市场。
I am not able to access android market through emulator.
答
我有Android Market的工作在模拟器使用OS 10.6.6平台2.3:
I got Android Market to work on Emulator for Platform 2.3 using OS 10.6.6:
在你的Mac首先下载并安装模拟器。
启动模拟器并创建一个AVD。我创建了一个名为 VD1
。
关闭 VD1
。
First download and setup emulator on your mac.
Launch emulator and create an AVD. I created one called vd1
.
Close vd1
.
启动终端实用工具,使Finder中通过执行以下命令来显示隐藏的系统文件和文件夹:
Launch Terminal in Utilities and enable the Finder to show hidden system files and folders by executing following commands:
lsy$ defaults write com.apple.finder AppleShowAllFiles TRUE
lsy$ killall Finder
下载 system.img
http://www.mediafire.com/?s8eeph3r71ho1lz
复制system.img到两个位置:
Copy system.img to two locations:
[username]\.android\avd\[vd1]\
[username]\android\platforms\android-9\images\
从终端启动模拟器
Launch emulator from Terminal
lsy$ cd android\tools
lsy$ ./emulator -avd [vd1] -partition-size 100