Android Studio模拟器在启动时卡住

时间:2017-04-14 04:38:59

标签: android android-emulator

今天Android Studio强迫我更新并且模拟器停止工作。我尝试过创建不同的虚拟设备,但所有虚拟设备都在开始时卡住(设备说“Android”)。我还删除并再次下载了系统映像,并尝试删除.android文件夹。

以下是模拟器卡住之前Android监视器中的最后几行:

01-01 00:01:35.184 655-706/? E/Cryptfs: Cannot open device-mapper
01-01 00:01:35.187 655-706/? E/Cryptfs: Error opening crypto_blkdev  for ext4 inplace encrypt. err=2(No such file or directory)
01-01 00:01:35.188 655-706/? D/Cryptfs: cryptfs_enable_inplace_ext4()=-2
01-01 00:01:35.188 655-706/? E/Cryptfs: Error opening crypto_blkdev  for f2fs inplace encrypt. err=2(No such file or directory)
01-01 00:01:35.189 655-706/? E/Cryptfs: Failed to encrypt f2fs filesystem on /dev/block/vdc
01-01 00:01:35.189 655-706/? I/Cryptfs: Encrypted to block -1
01-01 00:01:35.189 655-706/? D/Cryptfs: cryptfs_enable_inplace_f2fs()=-2
01-01 00:01:35.189 655-706/? E/Cryptfs: Error opening crypto_blkdev  for inplace encrypt. err=2(No such file or directory)
01-01 00:01:35.190 655-706/? D/Cryptfs: cryptfs_enable_inplace_full()=-2
01-01 00:01:35.190 655-706/? E/Cryptfs: cryptfs_enable: crypto block dev failure. Must reboot...
01-01 00:01:36.865 819-819/? V/DngCreator_JNI: DngCreator_nativeClassInit:

非常感谢任何帮助!

1 个答案:

答案 0 :(得分:1)

将VM堆设置为512 MB为我解决了这个问题