Android emulator launch failed

爱⌒轻易说出口 提交于 2019-12-12 13:04:16

问题


This is the message I get on the console.I have tried to launch it a lot of times, same message. Thanks.

[2014-02-07 15:44:08 - david] Performing t.t.Splash activity launch
[2014-02-07 15:44:08 - david] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'slayer'
[2014-02-07 15:44:18 - david] Uploading david.apk onto device 'emulator-5554'
[2014-02-07 15:44:18 - david] Failed to install david.apk on device 'emulator-5554': Read-only file system
[2014-02-07 15:44:18 - david] com.android.ddmlib.SyncException: Read-only file system
[2014-02-07 15:44:18 - david] Launch canceled!

回答1:


Change your ADB connection time-out i think that is causing problem.

If you are using eclipse you can go to Window -> Preferences and then it is in DDMS under Android.

Window -> Preferences -> Android -> DDMS -> ADB Connection Timeout (ms)

By default it is 500ms change it to 10000ms.

For more information go here




回答2:


Got this off an Android forum where I asked the same question. Hope this helps somebody else.

On a terminal emulator on the phone:

mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system

Then on the cmd prompt, do the adb push




回答3:


This same thing just happened to me because I already had an emulator running. Make sure you don't already have an emulator running.



来源:https://stackoverflow.com/questions/21629133/android-emulator-launch-failed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!