我工作的Hello World項目來。我得到的消息的順序是這樣的:NAND錯誤在官方Android開發教程
[2012-04-30 15:13:19 - HelloAndroid] ------------------------------
[2012-04-30 15:13:19 - HelloAndroid] Android Launch!
[2012-04-30 15:13:19 - HelloAndroid] adb is running normally.
[2012-04-30 15:13:19 - HelloAndroid] Performing com.example.helloandroid.HelloAndroid activity launch
[2012-04-30 15:13:19 - HelloAndroid] Automatic Target Mode: launching new emulator with compatible AVD 'my_avd'
[2012-04-30 15:13:19 - HelloAndroid] Launching a new emulator with Virtual Device 'my_avd'
[2012-04-30 15:13:25 - Emulator] NAND: could not write file /tmp/android-jhsu/emulator-7iTL7m, File exists
究竟是什麼阻止進程正常執行?我需要做些什麼來解決這個問題?
更新1:
好的,我試過你的建議清除avd。
我走進我的android_sdk_linux目錄並輸入「tools/android list avd」。輸出是:
Available Android Virtual Devices:
Name: my_avd
Path: /home/jhsu/.android/avd/my_avd.avd
Target: Android 4.0.3 (API level 15)
ABI: armeabi-v7a
Skin: WVGA800
所以我輸入了「tools/emulator -avd my_avd -wipe-data」。輸出是:
NAND: could not write file /tmp/android-jhsu/emulator-5FHEn7, File exists
但我查看了/ tmp/android-jhsu目錄,根本沒有看到任何文件,甚至沒有看到隱藏的文件。
我該從哪裏出發?
也許您的模擬器磁盤映像空間不足,例如http://stackoverflow.com/a/5605025/180740? –
只需刪除您的模擬器並創建另一個 – Blundell