运行后
source build/envsetup.sh
lunch full-eng
make
emulator
模拟器窗口显示空白,就像系统未启动一样。
尝试使用lunch aosp_x86-eng
时也会发生同样的情况
emulator -verbose
doesn't show any errors或与众不同的东西。
运行adb shell
时,我现在正在- exec '/system/bin/sh' failed: No such file or directory (2) -
我尝试再次运行make clobber
然后make
,但它没有帮助。
还尝试使用repo init .... && repo sync
再次同步整个代码库,并且没有更改任何内容(repo diff
表示代码没有更改)。由于emulator -no-window
仍然无法正常工作,因此运行adb shell
仍然无法产生任何更好的结果。
上周一段时间,模拟器正在运行,但随后停止了,adb devices
将显示device offline
。
我无法找到一种方法来获得导致问题的更详细的输出。我的怀疑是我在某个全局环境目录中遇到了一些问题(已经尝试重置计算机,并删除〜/ .android目录)
我在使用Mountain Lion的MacbookPro上运行。已安装英特尔HAX。
任何人都可以有方向吗?
答案 0 :(得分:0)
原来AOSP主分支不稳定。确保在执行repo init
时使用-b
并查看稳定的代码/分支