运行 模拟器在 Android Studio 中出错
Error while running Emulator in Android Studio
我是 android 的新手,我已经编写了一个用于打印 'Hello World' 的代码,它将在模拟器中显示结果,但是有一个奇怪的问题,我无法理解.请帮我
这是错误
Cannot launch AVD in emulator.
Output:
emulator: WARNING: Classic qemu does not support SMP. The hw.cpu.ncore option from your config file is ignored.
libpng warning: iCCP: known incorrect sRGB profile
### WARNING: unable to configure any DNS servers, name resolution will not work
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Warning: No DNS servers found
emulator: warning: opening audio input failed
Unknown cp14 write op1:6 crn:0 crm:8 op2:6
qemu: fatal: Trying to execute code outside RAM or ROM at 0xff91c756
emulator: WARNING: UpdateCheck: Failure: Error
emulator: WARNING: UpdateCheck: failed to get the latest version, skipping check (current version '25.1.7'
R00=00000000 R01=000005a1 R02=00000100 R03=00000000
R04=00000000 R05=00000000 R06=00000000 R07=00000000
R08=00000000 R09=00000000 R10=00000000 R11=00000000
R12=00000000 R13=00000000 R14=00010010 R15=ff91c756
PSR=400001f3 -Z-- T svc32
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
现在请帮我做点什么..这对我来说太复杂了.
您是否已尝试禁用 Hyper-V?如果你没有,你应该这样做,因为 AVD 与 Hyper-V 不兼容。
如果您使用的是 Windows,则需要使用管理员权限打开命令提示符。
然后输入以下命令:
dism.exe /Online /Disable-Feature:Microsoft-Hyper-V-All
我是 android 的新手,我已经编写了一个用于打印 'Hello World' 的代码,它将在模拟器中显示结果,但是有一个奇怪的问题,我无法理解.请帮我 这是错误
Cannot launch AVD in emulator.
Output:
emulator: WARNING: Classic qemu does not support SMP. The hw.cpu.ncore option from your config file is ignored.
libpng warning: iCCP: known incorrect sRGB profile
### WARNING: unable to configure any DNS servers, name resolution will not work
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Warning: No DNS servers found
emulator: warning: opening audio input failed
Unknown cp14 write op1:6 crn:0 crm:8 op2:6
qemu: fatal: Trying to execute code outside RAM or ROM at 0xff91c756
emulator: WARNING: UpdateCheck: Failure: Error
emulator: WARNING: UpdateCheck: failed to get the latest version, skipping check (current version '25.1.7'
R00=00000000 R01=000005a1 R02=00000100 R03=00000000
R04=00000000 R05=00000000 R06=00000000 R07=00000000
R08=00000000 R09=00000000 R10=00000000 R11=00000000
R12=00000000 R13=00000000 R14=00010010 R15=ff91c756
PSR=400001f3 -Z-- T svc32
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
现在请帮我做点什么..这对我来说太复杂了.
您是否已尝试禁用 Hyper-V?如果你没有,你应该这样做,因为 AVD 与 Hyper-V 不兼容。
如果您使用的是 Windows,则需要使用管理员权限打开命令提示符。 然后输入以下命令:
dism.exe /Online /Disable-Feature:Microsoft-Hyper-V-All