【发布时间】:2013-04-04 05:16:35
【问题描述】:
我已按照 Android 源网站 (http://source.android.com/source/building.html) 上的说明下载并编译了 Android 源代码
我选择了
$ lunch full-eng
一个仿真器工程构建,一切都编译得很好。
然后它说要在模拟器中启动图像,只需键入:
The emulator is added to your path automatically by the build process. To run the emulator, type
$ emulator
好吧,不确定它是否已添加到路径中。键入模拟器没有任何作用。
但是如果我去
out/host/darwin-x86/bin/emulator
emulator: ERROR: You did not specify a virtual device name, and the system
directory could not be found.
If you are an Android SDK user, please use '@<name>' or '-avd <name>'
to start a given virtual device (see -help-avd for details).
所以我很困惑......此时我必须创建一个 AVD 吗? 如何准确地为此图像创建 AVD?
有没有人在 MAC 上做过这个,他们可以给我一些说明吗?
谢谢
【问题讨论】:
-
我会在 google 群组上发布这个问题:groups.google.com/forum/?fromgroups#!forum/android-building
标签: android macos android-emulator avd android-source