编译android源码6---运行android编译源码
16lz
2021-12-04
1.配置环境变量 (/media/M_hM_=M_M_dM__M_6/Download/442为android所在的目录)
export PATH=$PATH:/media/M_hM_=M_M_dM__M_6/Download/442/out/host/linux-x86/bin
export ANDROID_PRODUCT_OUT=/media/M_hM_=M_M_dM__M_6/Download/442/out/target/product/generic
2.运行模拟器 emulator
3.错误
emulator: ERROR: You did not specify a virtual device name, and the systemdirectory could not be found.If you are an Android SDK user, please use '@<name>' or '-avd <name>'to start a given virtual device (see -help-avd for details).Otherwise, follow the instructions in -help-disk-images to start the emulator
解决方法
source build/envsetup.sh
lunch sdk-eng
执行:
4.运行emulator
可以启动模拟器
5.模拟器启动图片
官网:http://source.android.com/source/running.html
更多相关文章
- Android(安卓)系统服务 - PMS 的启动过程
- Android在开机时自动启动一个应用程序
- android音乐播放器Service的生命周期分析
- 开机时自动启动Android应用
- android运行python脚本_如何在Android中从Java代码执行Python脚
- 安卓模拟器Android(安卓)SDK安装完整图文教程
- android 4.0 com.android.ddmlib.InstallException: device not
- Android(安卓)技巧 - 开机完成后做某事 (比如启动Service)
- android上用opengl画线