AOSP仿真器无法启动。 ADB shell'exec'/ system / bin / sh'失败:没有这样的文件或目录(2)'

时间:2013-09-13 12:45:51

标签: android-emulator android-source

运行后

  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。

任何人都可以有方向吗?

1 个答案:

答案 0 :(得分:0)

原来AOSP主分支不稳定。确保在执行repo init时使用-b并查看稳定的代码/分支