2016-09-21 199 views
3

推出AVD的錯誤:調整分區e2fsck的退出代碼爲1錯誤與Android工作室:不能在模擬器

我已經確信,我按照這個視頻正是建立我的AVD時失敗。每當我跑與x86_64的系統映像的AVD,我得到以下信息:

Cannot launch AVD in emulator. Output: Creating filesystem with parameters: Size: 69206016 Block size: 4096 Blocks per group: 32768 ERROR: resizing partition e2fsck failed with exit code 1 Inodes per group: 4224 Inode size: 256 Journal blocks: 1024 Label: Blocks: 16896 Block groups: 1 Reserved block group size: 7 Created filesystem with 11/4224 inodes and 1302/16896 blocks Hax is enabled Hax ram_size 0x60000000 HAX is working and emulator runs in fast virt mode. emulator: Listening for console connections on port: 5554 emulator: Serial number of this emulator (for ADB): emulator-5554 emulator: WARNING: The -scale flag is obsolete and will be ignored.

每當我與普通的x86系統映像運行它,我得到這個消息:

Cannot launch AVD in emulator. Output: emulator: WARNING: userdata partition is resized from 550 M to 800 M ERROR: resizing partition e2fsck failed with exit code 1 Hax is enabled Hax ram_size 0x60000000 HAX is working and emulator runs in fast virt mode. emulator: Listening for console connections on port: 5554 emulator: Serial number of this emulator (for ADB): emulator-5554 emulator: WARNING: The -scale flag is obsolete and will be ignored.

我有一個計算機是運行Windows 10的64位系統。我嘗試了Lollipop 22 x86_64和Lollipop 22 x86系統映像,但都失敗了。我想不出什麼問題。任何幫助將不勝感激。

謝謝

+1

你有沒有在你的系統上安裝Docker的機會? (兩者之間有衝突..) –

+0

我不確定是否誠實。這是預裝在MSI遊戲筆記本電腦上的東西嗎?幾周前我剛拿到這檯筆記本電腦。 – user2843864

+0

不,不這麼認爲... –

回答

2

resizing partition e2fsck failed

如果該AVD底層的文件系統有錯誤,就會出現這種情況,和仿真器是無法安裝它。在Windows中修復該文件系統的e2fsck並不是直截了當的,但它是可能的。

在這一點上,添加Genymotion在你的情況下可能會更容易和完全正常是很重要的。

爲了解決分區問題,在Windows上:

安裝Cygwin和運行e2fsck的CMD

# Navigate to AVD 
cd ~/.android/avd/Nexus5 
e2fsck -f userdata-qemu.img 

欲瞭解更多信息,請參考以下鏈接:

https://superuser.com/questions/739710/running-fsck-from-cygwin-shell

Android emulator Error:- executing /system/bin/e2fsck failed: No such file or directory

1

I h廣告完全相同的錯誤,我必須做的,以解決這個問題是改變我的android sdk位置。 Android工作室警告我不要在文件夾名稱中使用空格,但我仍然這樣做,導致了這個錯誤。

+0

熱潮!這固定它!非常感謝Synth。 – user2843864

3

組內存= 1024 MB 和內部存儲= 550 MB 我已經解決了這個錯誤我的模擬器

enter image description here

0

對於任何人誰已經完成論文的答案,也沒有成功,我將建議重新安裝你的模擬器,這工作在這裏。