问题
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