无法在设备'emulator-5554'上安装MyFirstApp.apk:只读文件系统

时间:2014-08-15 12:21:10

标签: android eclipse

我正在关注Eclipse Kepler Service Release 2中的developer.android.com的HelloWorld教程。 0S X 10.9.4,但是当我尝试运行应用程序时,我得到了下一个错误:

[2014-08-15 14:05:33 - MyFirstApp] Uploading MyFirstApp.apk onto device 'emulator-5554'
[2014-08-15 14:05:34 - MyFirstApp] Failed to install MyFirstApp.apk on device 'emulator-5554': Read-only file system
[2014-08-15 14:05:34 - MyFirstApp] com.android.ddmlib.SyncException: Read-only file system
[2014-08-15 14:05:34 - MyFirstApp] Launch canceled!

我想我必须卸下/ system,但我不知道确切位置在哪里:

尝试卸载的结果是:

mount: /system: unknown special file or file system.

同样适用于系统:

mount: /System: unknown special file or file system.

并且没有结果试图使用

找到它
mount | grep system

1 个答案:

答案 0 :(得分:0)

  1. 打开CMD
  2. 将目录更改为SDK位置(android-sdks \ platform-tools)
  3. 执行“adb shell”
  4. 执行“su”
  5. 执行“mount -o remount -o rw /”
  6. 需要为所有人做(不仅是/系统)