Reputation: 5651
I followed the directions from http://source.android.com/source/building.html. However once I get to "Emulate an Android Device" section, there is no "emulator".
During the build, I got Killed messages:
/bin/bash: line 1: 5372 Killed javac -J-Xmx512M -target 1.5 -Xmaxerrs >9999999 -encoding ascii -g -classpath out/host/linux-x86/framework/dx.jar:out /host/linux->x86>/framework/dasm.jar:out/host/linux-x86/framework/cfassembler.jar:/usr/lib /jvm/java-1.5.0>-sun/lib/tools.jar -extdirs "" -d out/host/common/obj/JAVA_LIBRARIES /cts-dalvik-buildutil_intermediates/classes \@out/host/common/obj/JAVA_LIBRARIES/cts-dalvik- buildutil_intermediates/java-source-list-uniq make: * [out/host/common/obj/JAVA_LIBRARIES/cts-dalvik-buildutil_intermediates/javalib.jar] Killed
This is the first javac command that follows the C++ compilations. I've retried it multiple times without success.
Upvotes: 0
Views: 222
Reputation: 5651
The problem resulted from paths not being properly exported. I followed this link: http://blog.markloiseau.com/2012/07/envsetup-setpaths-and-the-emulator-avd-error/
and set ANDROID_PRODUCT_OUT=/out/target/product/generic/ and also emulator is located at out/host/linux-x86/bin/emulator
Upvotes: 0