Emulator Avd

http://developer.android.com/tools/devices/emulator.html
https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager
https://software.intel.com/en-us/android/articles/speeding-up-the-android-emulator-on-intel-

architecture#_Toc358213272

issue 1) Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
http://mikewest.blogspot.com/2012/09/android-build-on-ubuntu-64.html
solution:

1) edit the out/host/linux-x86/bin/android script, swapping the classpath order to -classpath "$swtpath/swt.jar:$jarpath" (i.e, put the swtpath first).

2) export ANDROID_SWT = ~/work/prebuilts/tools/linux-x86_64/swt

issue 2) no target
http://stackoverflow.com/questions/1671462/android-can-not-find-a-target

./out/host/linux-x86/bin/android list targets
./out/host/linux-x86/bin/android // launch SDK manager to download different APIs. it will resolve the issue of no targets listed in last command.
./out/host/linux-x86/bin/android avd // lauch avd creation
./out/host/linux-x86/bin/android list avd
./out/host/linux-x86/bin/emulator -avd nexus
./out/host/linux-x86/bin/emulator -avd nexus-x86
./out/host/linux-x86/bin/emulator-x86 -avd nexus-x86
./out/host/linux-x86/bin/emulator-x86 -avd nexus-x86 -qemu -m 2047 -enable-kvm

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License