真的令人沮丧,我无法启动android sdk的任何模拟器。 我已经下载了最后一个android工作室版本以及android sdk并安装了它。
我玩了RAM设置,但它没有帮助... 我尝试了所有模拟器,从ADV Manager启动了模拟器,我也尝试通过项目运行启动模拟器。 我选择“使用主机GPU”,但这并没有什么区别......我等了几个小时,但没有任何变化......
模拟器状态显示为“在线”,但模拟器显示保持黑色并且不显示android徽标。在ADB日志中,将显示以下行:
PropertyFetcher: AdbCommandRejectedException getting properties for device emulator-5554: device offline
我也尝试过其他帖子中提到的adb kill-server和adb start-server - 没有帮助。
在logcat中显示以下行:
08-08 18:02:53.493 10169-10169/? W/iptables﹕ type=1400 audit(0.0:151): avc: denied { module_request } for kmod="ipt_TCPMSS" scontext=u:r:netd:s0 tcontext=u:r:kernel:s0 tclass=system permissive=0
08-08 18:02:53.743 10219-10219/? W/iptables﹕ type=1400 audit(0.0:152): avc: denied { module_request } for kmod="ipt_owner" scontext=u:r:netd:s0 tcontext=u:r:kernel:s0 tclass=system permissive=0
08-08 18:02:53.743 10219-10219/? W/iptables﹕ type=1400 audit(0.0:153): avc: denied { module_request } for kmod="ipt_owner" scontext=u:r:netd:s0 tcontext=u:r:kernel:s0 tclass=system permissive=0
08-08 18:02:53.743 10219-10219/? W/iptables﹕ type=1400 audit(0.0:154): avc: denied { module_request } for kmod="ipt_owner" scontext=u:r:netd:s0 tcontext=u:r:kernel:s0 tclass=system permissive=0
08-08 18:02:53.765 10017-10017/? E/BandwidthController﹕ runIptablesCmd(): res=1 status=256 failed /system/bin/iptables -A bw_INPUT -m owner --socket-exists
08-08 18:02:53.753 10220-10220/? W/ip6tables﹕ type=1400 audit(0.0:155): avc: denied { module_request } for kmod="ip6t_owner" scontext=u:r:netd:s0 tcontext=u:r:kernel:s0 tclass=system permissive=0
08-08 18:02:53.753 10220-10220/? W/ip6tables﹕ type=1400 audit(0.0:156): avc: denied { module_request } for kmod="ip6t_owner" scontext=u:r:netd:s0 tcontext=u:r:kernel:s0 tclass=system permissive=0
08-08 18:02:53.753 10220-10220/? W/ip6tables﹕ type=1400 audit(0.0:157): avc: denied { module_request } for kmod="ip6t_owner" scontext=u:r:netd:s0 tcontext=u:r:kernel:s0 tclass=system permissive=0
08-08 18:02:53.823 10017-10017/? E/BandwidthController﹕ runIptablesCmd(): res=1 status=256 failed /system/bin/ip6tables -A bw_INPUT -m owner --socket-exists
08-08 18:02:53.824 10224-10224/? E/logwrapper﹕ executing /system/bin/ip failed: No such file or directory
08-08 18:02:53.825 10017-10017/? E/Netd﹕ failed to flush rules
08-08 18:02:53.826 10017-10017/? E/CommandListener﹕ failed to initialize RouteController (Remote I/O error)
08-08 18:02:53.838 10213-10213/? E/SurfaceFlinger﹕ hwcomposer module not found
08-08 18:02:53.839 10213-10213/? W/SurfaceFlinger﹕ no suitable EGLConfig found, trying a simpler query
08-08 18:02:53.839 10213-10213/? A/SurfaceFlinger﹕ no suitable EGLConfig found, giving up
08-08 18:02:53.839 10213-10213/? A/libc﹕ Fatal signal 4 (SIGILL), code 2, fault addr 0xb762b62c in tid 10213 (surfaceflinger)
08-08 18:02:53.938 10215-10215/? W/art﹕ Incomplete boot detected. Pruning dalvik cache
08-08 18:02:57.542 10239-10239/? E/Netd﹕ Failed to open /proc/sys/net/ipv6/conf/default/optimistic_dad: No such file or directory
08-08 18:02:57.542 10239-10239/? E/Netd﹕ Failed to open /proc/sys/net/ipv6/conf/eth0/optimistic_dad: No such file or directory
08-08 18:02:57.542 10239-10239/? E/Netd﹕ Failed to open /proc/sys/net/ipv6/conf/lo/optimistic_dad: No such file or directory
08-08 18:02:57.542 10239-10239/? E/Netd﹕ Failed to open /proc/sys/net/ipv6/conf/sit0/optimistic_dad: No such file or directory
08-08 18:02:57.542 10239-10239/? E/Netd﹕ Failed to open /proc/sys/net/ipv6/conf/default/use_optimistic: No such file or directory
08-08 18:02:57.544 10239-10239/? E/Netd﹕ Failed to open /proc/sys/net/ipv6/conf/eth0/use_optimistic: No such file or directory
08-08 18:02:57.544 10239-10239/? E/Netd﹕ Failed to open /proc/sys/net/ipv6/conf/lo/use_optimistic: No such file or directory
08-08 18:02:57.546 10239-10239/? E/Netd﹕ Failed to open /proc/sys/net/ipv6/conf/sit0/use_optimistic: No such file or directory
08-08 18:02:58.283 10391-10391/? W/iptables﹕ type=1400 audit(0.0:158): avc: denied { module_request } for kmod="ipt_TCPMSS" scontext=u:r:netd:s0 tcontext=u:r:kernel:s0 tclass=system permissive=0
08-08 18:02:58.523 10438-10438/? W/iptables﹕ type=1400 audit(0.0:159): avc: denied { module_request } for kmod="ipt_owner" scontext=u:r:netd:s0 tcontext=u:r:kernel:s0 tclass=system permissive=0
08-08 18:02:58.523 10438-10438/? W/iptables﹕ type=1400 audit(0.0:160): avc: denied { module_request } for kmod="ipt_owner" scontext=u:r:netd:s0 tcontext=u:r:kernel:s0 tclass=system permissive=0
08-08 18:02:58.523 10438-10438/? W/iptables﹕ type=1400 audit(0.0:161): avc: denied { module_request } for kmod="ipt_owner" scontext=u:r:netd:s0 tcontext=u:r:kernel:s0 tclass=system permissive=0
08-08 18:02:58.584 10239-10239/? E/BandwidthController﹕ runIptablesCmd(): res=1 status=256 failed /system/bin/iptables -A bw_INPUT -m owner --socket-exists
08-08 18:02:58.573 10442-10442/? W/ip6tables﹕ type=1400 audit(0.0:162): avc: denied { module_request } for kmod="ip6t_owner" scontext=u:r:netd:s0 tcontext=u:r:kernel:s0 tclass=system permissive=0
08-08 18:02:58.573 10442-10442/? W/ip6tables﹕ type=1400 audit(0.0:163): avc: denied { module_request } for kmod="ip6t_owner" scontext=u:r:netd:s0 tcontext=u:r:kernel:s0 tclass=system permissive=0
08-08 18:02:58.573 10442-10442/? W/ip6tables﹕ type=1400 audit(0.0:164): avc: denied { module_request } for kmod="ip6t_owner" scontext=u:r:netd:s0 tcontext=u:r:kernel:s0 tclass=system permissive=0
08-08 18:02:58.593 10239-10239/? E/BandwidthController﹕ runIptablesCmd(): res=1 status=256 failed /system/bin/ip6tables -A bw_INPUT -m owner --socket-exists
08-08 18:02:58.594 10443-10443/? E/logwrapper﹕ executing /system/bin/ip failed: No such file or directory
08-08 18:02:58.643 10239-10239/? E/Netd﹕ failed to flush rules
一遍又一遍......
是的,我还检查了HAXM,它正在运行:
C:\Users\VSYSM03\AppData\Local\Android\sdk\tools\emulator.exe -avd x86_Nexus_S_API_22 -netspeed full -netdelay none
emulator: device fd:592
HAX is working and emulator runs in fast virt mode
emulator: warning: opening audio input failed
creating window 208 44 800 480
设备配置:
avd.ini.encoding=UTF-8
AvdId=x86_Nexus_S_API_22
abi.type=x86
avd.ini.displayname=x86 Nexus S API 22
disk.dataPartition.size=200M
hw.accelerometer=yes
hw.audioInput=yes
hw.battery=yes
hw.camera.back=none
hw.camera.front=none
hw.cpu.arch=x86
hw.dPad=no
hw.device.hash2=MD5:37a2ff6e511626ba3ceddec8264474be
hw.device.manufacturer=Google
hw.device.name=Nexus S
hw.gps=yes
hw.gpu.enabled=yes
hw.initialOrientation=landscape
hw.keyboard=yes
hw.lcd.density=240
hw.mainKeys=yes
hw.ramSize=768
hw.sdCard=yes
hw.sensors.orientation=yes
hw.sensors.proximity=yes
hw.trackBall=no
image.sysdir.1=system-images\android-22\default\x86\
runtime.network.latency=none
runtime.network.speed=full
runtime.scalefactor=auto
sdcard.path=C:\Users\VSYSM03\.android\avd\x86_Nexus_S_API_22.avd\sdcard.img
skin.dynamic=yes
skin.name=nexus_s
skin.path=C:\Program Files\Android\Android Studio\plugins\android\lib\device-art-resources\nexus_s
snapshot.present=no
tag.display=Default
tag.id=default
vm.heapSize=32
这里有一张图片,仿真器看起来如何,没有图形更新 - 没有......
有人有想法吗?我玩了一周......
感谢马里奥