简体   繁体   中英

Android emulator launch failed

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!

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

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM