我的问题是Android模拟器卡在Android徽标上,无法启动。
logcat错误:
block.prototype.drawApple = function() {
ctx.fillStyle = "red";
ctx.textBaseline = "bottom";
ctx.moveTo(this.x,this.y);
ctx.arc(this.x, this.y, 6, 2 * Math.PI, false);
ctx.fill();
}
android清单:
07-28 09:41:20.385 1381-1381/? E/Hyphenator: error loading hyphenation /system/usr/hyphen-data/hyph-und-ethi.hyb
java.io.FileNotFoundException: /system/usr/hyphen-data/hyph-und-ethi.hyb: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:455)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:247)
at android.text.Hyphenator.loadHyphenator(Hyphenator.java:118)
at android.text.Hyphenator.init(Hyphenator.java:224)
at com.android.internal.os.ZygoteInit.preloadTextResources(ZygoteInit.java:252)
at com.android.internal.os.ZygoteInit.preload(ZygoteInit.java:206)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:743)
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
at libcore.io.Posix.open(Native Method)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:187)
at libcore.io.IoBridge.open(IoBridge.java:441)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:247)
at android.text.Hyphenator.loadHyphenator(Hyphenator.java:118)
at android.text.Hyphenator.init(Hyphenator.java:224)
at com.android.internal.os.ZygoteInit.preloadTextResources(ZygoteInit.java:252)
at com.android.internal.os.ZygoteInit.preload(ZygoteInit.java:206)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:743)
07-28 09:41:44.796 1963-1963/? E/memtrack: Couldn't load memtrack module (No such file or directory)
07-28 09:41:44.796 1963-1963/? E/android.os.Debug: failed to load memtrack module: -2
07-28 09:41:46.651 1983-1983/system_process E/PowerManagerService-JNI: Couldn't load power module (No such file or directory)
有人能为我解决这个问题吗? Android模拟器在打开之前确实崩溃了,在关闭计算机之后它不再崩溃,但卡在Android徽标上。我正在使用Mac OS。