2016-09-21 198 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

对于任何人谁已经完成论文的答案,也没有成功,我将建议重新安装你的模拟器,这工作在这里。