Android N Preview emulator crash

今天创建Android N模拟器的时候报了一个错误,如下:

qemu: fatal: goldfish_tty_read: Bad offset 20
RAX=0000000000000009 RBX=0000000000000000 RCX=0000000000000000 RDX=0000000000000000
RSI=ffffffff817b6c7f RDI=ffff88005c3eb0c0 RBP=ffff88005e471bf8 RSP=ffff88005e471bb8
R8 =ffff88005c6a87f4 R9 =00000000ffffffff R10=ffff88005c3eb000 R11=0000000000000001
R12=ffffc9000003e000 R13=ffff88005e750810 R14=ffff88005c3eb000 R15=0000000000000000
RIP=ffffffff8127a837 RFL=00010246 [---Z-P-] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0000 0000000000000000 ffffffff 00000000
CS =0010 0000000000000000 ffffffff 00a09b00 DPL=0 CS64 [-RA]
SS =0018 0000000000000000 ffffffff 00c09300 DPL=0 DS   [-WA]
DS =0000 0000000000000000 ffffffff 00000000
FS =0000 0000000000000000 ffffffff 00000000
GS =0000 ffffffff81a1f000 ffffffff 00000000
LDT=0000 0000000000000000 ffffffff 00000000
TR =0040 ffffffff81a1a8c0 00002087 00008b00 DPL=0 TSS64-busy
GDT=     ffffffff81a09000 0000007f
IDT=     ffffffffff579000 00000fff
CR0=8005003b CR2=000000000040f6d0 CR3=000000005c2a8000 CR4=000006b0
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 
DR6=00000000ffff0ff0 DR7=0000000000000400
CCS=0000000000000044 CCD=0000000000000000 CCO=EFLAGS  
FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
FPR0=0000000000000000 FPR1=0000000000000000
FPR2=0000000000000000 FPR3=0000000000000000
FPR4=0000000000000000 FPR5=0000000000000000
FPR6=0000000000000000 FPR7=0000000000000000
XMM00=ffffffffffffffffffffffffffffff00 XMM01=00000000000000000000000000000031
XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000
XMM04=65675f6f7364765f5f00757063746567 XMM05=00000000000000000000000000000000
XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000
XMM08=00000000000000000000000000000000 XMM09=00000000000000000000000000000000
XMM10=00000000000000000000000000000000 XMM11=00000000000000000000000000000000
XMM12=00000000000000000000000000000000 XMM13=00000000000000000000000000000000
XMM14=00000000000000000000000000000000 XMM15=00000000000000000000000000000000

解决方法:
将 x86_64 改为 x86 再次启动就解决了。

参考:
http://stackoverflow.com/questions/35904110/android-n-preview-emulator-crash

avatar
  • 本文由 发表于 2017-03-2512:48:04
APK signature scheme v2 Android开发

APK signature scheme v2

默认受信任的证书颁发机构 默认情况下,面向 Android 7.0 的应用仅信任系统提供的证书,且不再信任用户添加的证书颁发机构 (CA)。如果面向 Android N 的应用希望信任用户添加的 CA...
Android热修复实现方案大总结 Android开发

Android热修复实现方案大总结

基本概念 热修复(也称热补丁、热修复补丁,英语:hotfix)是一种包含信息的独立的累积更新包,通常表现为一个或多个文件。这被用来解决软件产品的问题(例如一个程序错误)。通常情况下,热修复是为解决特定...