你好,游客 登录 注册 搜索
背景:
阅读新闻

Android4.1.1系统编译全过程

[日期:2012-09-01] 来源:csdn  作者:hudan2714 [字体:大 中 小]

四、运行编译好的系统

Android4.1.1系统编译全过程

只需要这三句就OK

运行时只要:emulator

Android4.1.1系统编译全过程

完美运行:

Android4.1.1系统编译全过程

下面是遇到的问题,可以看看:

编译完系统后,用模拟器运行系统,在2.3之前只需要配置:

export Android_PRODUCT_OUT=/home/hudan/android/source/android4.1.1/out/target/product/generic_x86

export PATH=$PATH:/home/hudan/android/source/android4.1.1/out/host/linux-x86/bin

但这样配置就一直出现如下的错误:

emulator: ERROR: You did not specify a virtual device name, and the system

directory could not be found.

If you are an Android SDK user, please use '@' or '-avd '

to start a given virtual device (see -help-avd for details).

Otherwise, follow the instructions in -help-disk-images to start the emulator

Android4.1.1系统编译全过程

这就是adnroid4.1.1下emulator不能直接运行的问题

参考:http://www.linuxidc.com/Linux/2012-09/69492.htm

最后配置export ANDROID_BUILD_TOP=/home/hudan/android/source/android4.1.1

一切就都OK了。

Android4.1.1系统编译全过程
linux
相关资讯       Android开发入门 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款