android 4.0.1源码编译成功后运行emulator提示No command 'emulator' found
2012-03-04 12:57
585 查看
test1@ubuntu:~/WORKING_DIRECTORY$ emulator
No command 'emulator' found, did you mean:
Command 'qemulator' from package 'qemulator' (universe)
emulator: command not found
1、编辑/etc/environment增加emulator所在目录(增加蓝色字体内容):
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-1.6.0_27/bin:/home/test1/WORKING_DIRECTORY/out/host/linux-x86/bin"
CLASSPATH="/usr/lib/jvm/java-1.6.0_27/lib"
J***A_HOME="/usr/lib/jvm/java-1.6.0_27"
ANDROID_PRODUCT_OUT="/home/test1/WORKING_DIRECTORY/out/target/product/generic"
注意:修改这个后为使之生效需要logout一下。
另外,android模拟器第一次启动时间超长,需要耐心等待。
No command 'emulator' found, did you mean:
Command 'qemulator' from package 'qemulator' (universe)
emulator: command not found
1、编辑/etc/environment增加emulator所在目录(增加蓝色字体内容):
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-1.6.0_27/bin:/home/test1/WORKING_DIRECTORY/out/host/linux-x86/bin"
CLASSPATH="/usr/lib/jvm/java-1.6.0_27/lib"
J***A_HOME="/usr/lib/jvm/java-1.6.0_27"
ANDROID_PRODUCT_OUT="/home/test1/WORKING_DIRECTORY/out/target/product/generic"
注意:修改这个后为使之生效需要logout一下。
另外,android模拟器第一次启动时间超长,需要耐心等待。
相关文章推荐
- android 4.0.1源码编译成功后运行emulator提示No command 'emulator' found
- eclipse进行android,运行就提示ERROR: Unknown command 'crunch'
- No resource found that matches the given name 'android:Widget.Material.ActionButton'.
- Android在CMD中输入adb命令,提示“'adb' 不是内部或外部命令,也不是可运行的程序”的解决方法
- 【转】在Ubuntu下编译Android源码并运行Emulator
- Error retrieving parent for item: No resource found that matches the given name 'android:Theme....
- Android Studio 编译提示 No installed build tools found. Please install the Android build tools
- error: Error retrieving parent for item: No resource found that matches the given name 'android:Win
- adb的问题“No command 'adb' found, did you mean:”
- error: Error retrieving parent for item: No resource found that matches the given name 'android:Wind
- ubuntu 打开Android模拟器(Android源码编译)提示:emulator:未找到命令
- shell脚本在cygwin下运行报错: $'\r': command not found
- 使用intellij的svn时提示出错: Can't use Subversion command line client: svn.Errors found while svn working co
- No command 'mmm' found
- Android studio b Error: No resource found that matches the given name (at 'src' with value '@dra...
- error: Error retrieving parent for item: No resource found that matches the given name 'android:Them
- 编译Coco2d-x android 程序出现make: *** No rule to make target ...CCConfiguration.o'. Stop.
- AndroidManifest.xml:10: error: Error: No resource found that matches the given name (at 'icon' with
- Android Studio 提示"Error running app: No Android facet found for app"
- Android4.0.1 源码下载,模拟器编译和运行