我意外地将MyAVD中的电源按钮按住太长时间并且它开始关闭,现在它不会停止。我重新启动了计算机,关闭了我的IDE,重新运行了我的代码,它总是显示出来;
在Logcat中显示:
12-16 20:37:19.402: ERROR/DropBoxManagerService(284): Can't write: system_app_strictmode
java.io.FileNotFoundException: /data/system/dropbox/drop171.tmp: open failed: EROFS (Read-only file system)
at libcore.io.IoBridge.open(IoBridge.java:416)
at java.io.FileOutputStream.<init>(FileOutputStream.java:88)
at java.io.FileOutputStream.<init>(FileOutputStream.java:73)
at com.android.server.DropBoxManagerService.add(DropBoxManagerService.java:210)
at android.os.DropBoxManager.addText(DropBoxManager.java:272)
at com.android.server.am.ActivityManagerService$11.run(ActivityManagerService.java:8339)
Caused by: libcore.io.ErrnoException: open failed: EROFS (Read-only file system)
at libcore.io.Posix.open(Native Method)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
at libcore.io.IoBridge.open(IoBridge.java:400)
... 5 more
12-16 20:37:19.441: WARN/Trace(284): Unexpected value from nativeGetEnabledTags: 0
12-16 20:37:19.441: WARN/Trace(284): Unexpected value from nativeGetEnabledTags: 0
12-16 20:37:19.441: INFO/Choreographer(284): Skipped 51 frames! The application may be doing too much work on its main thread.
12-16 20:37:19.441: WARN/Trace(284): Unexpected value from nativeGetEnabledTags: 0
任何人都知道如何解决这个问题?
答案 0 :(得分:1)
只需创建新的虚拟设备,即可节省您的时间和健康。
答案 1 :(得分:1)
转到您的AVD管理器,选择您的模拟器并进入编辑...,然后取消选中“快照”,然后重试。