“android list target” show nothing for AOSP build

泄露秘密 提交于 2019-12-11 18:53:48

问题


According instructions listed in http://source.android.com/source/building.html, a full build can be build, and the emulator can be started OK.

Android 4.0.4 source codes is downloaded and built.

. build/envsetup.sh

lunch full-eng

make

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

But run android list target show nothing, so avd can not be created.

Expected result is that there should be at least one target be listed. How can I bring the target out?


回答1:


I am not sure but I think you need to create your avd first:

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

for reference: http://blog.sheikhaman.com/2010/10/android-os-source-code-modification_13.html

I hope it will be helpful !



来源:https://stackoverflow.com/questions/14372742/android-list-target-show-nothing-for-aosp-build

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!