0

根据http://source.android.com/source/building.html中列出的说明,可以构建完整的构建,并且可以启动模拟器。

Android 4.0.4 源代码已下载并构建。

. build/envsetup.sh

lunch full-eng

make

root@computer0OfGod:~/customEmulator# android list target
Available Android targets:

但是运行android list targetshow nothing,所以无法创建 avd。

预期结果是应该至少列出一个目标。我怎样才能把目标带出来?

4

1 回答 1

1

我不确定,但我认为您需要先创建 avd:

$ ./android create avd -n [Your AVD's name] -t 1 

供参考:http: //blog.sheikhaman.com/2010/10/android-os-source-code-modification_13.html

我希望它会有所帮助!

于 2013-01-17T05:37:50.123 回答