问题
I tried to emulate the app on android virtual device emulator. It started booting up and then just stopped. That emulator does not work at all. I tried almost 10 times now. The errors I'm getting are
[2014-04-15 13:41:25 - Emulator] NAND: nand_dev_load_disk_state ftruncate failed: Invalid argument
[2014-04-15 13:41:25 - Emulator] savevm: unable to load section nand_dev
[2014-04-15 13:42:42 - learningandroid] emulator-5554 disconnected! Cancelling 'com.example.learningandroid.MainActivity activity launch'!
How to solve the issue?
LAST ONE WAS DISCONNECTED BY ME.
回答1:
You might try these 3 things (and probably in this order):
- If your AVD paths have spaces, try avoiding them.
- Try re-creating your AVD and even the virtual devices (with special care to configure them accordingly: memory, etc.).
- Re-install SDK and try using a fresh Eclipse copy
回答2:
Restart Eclipse and AVD
. If it doesn't work after that, create a new AVD
and then try again.
回答3:
Try genyMotion its a free emulator which comes with Eclipse Extension and Many more features. http://www.genymotion.com/
回答4:
Do the following:
- Delete your old
avd
, and try to re-creating a newavd
- Keep your eyes on config when you creating such as memory ...etc.
Good luck.
来源:https://stackoverflow.com/questions/23078721/whats-wrong-with-my-android-virtual-device