Android Studio 模拟器无法启动 Windows 11

问题描述 投票:0回答:1

我刚刚安装了Windows 11并安装了android studio ladybug版本并尝试打开android模拟器,但它显示错误error shows when trying to open emulator

我进一步挖掘了android studio中的日志来找到问题。这是日志。如果有人能告诉我这里出了什么问题并可能修复。这是日志:

2024-11-18 09:03:47,238 [ 637371]   WARN - #com.android.tools.idea.progress.RepoProgressIndicatorAdapter - Errors during XML parse:
2024-11-18 09:03:47,238 [ 637371]   WARN - #com.android.tools.idea.progress.RepoProgressIndicatorAdapter - Additionally, the fallback loader failed to parse the XML.
2024-11-18 09:03:53,406 [ 643539]   INFO - Emulator: Pixel 7 Pro API 34 - C:\Users\geniusAlada\AppData\Local\Android\Sdk\emulator\emulator.exe -netdelay none -netspeed full -avd Pixel_7_Pro_API_34
2024-11-18 09:03:53,422 [ 643555]   WARN - #c.i.u.j.JBCefApp - JCefAppConfig.class is not from a JBR module, url: jar:file:/C:/Program%20Files/Android/Android%20Studio/lib/lib.jar!/com/jetbrains/cef/JCefAppConfig.class (Use JBR bundled with the IDE)
2024-11-18 09:03:53,531 [ 643664]   INFO - Emulator: Pixel 7 Pro API 34 - Android emulator version 35.2.10.0 (build_id 12414864) (CL:N/A)
2024-11-18 09:03:53,531 [ 643664]   INFO - Emulator: Pixel 7 Pro API 34 - Graphics backend: gfxstream
2024-11-18 09:03:53,531 [ 643664]   INFO - Emulator: Pixel 7 Pro API 34 - Found systemPath C:\Users\geniusAlada\AppData\Local\Android\Sdk\system-images\android-34\google_apis\x86_64\
2024-11-18 09:03:54,318 [ 644451]   INFO - Emulator: Pixel 7 Pro API 34 - Process finished with exit code -1073741515 (0xC0000135)
2024-11-18 09:03:54,318 [ 644451]   WARN - Emulator: Pixel 7 Pro API 34 - Emulator terminated with exit code -1073741515
2024-11-18 09:03:54,412 [ 644545]   WARN - #com.android.sdklib.deviceprovisioner.DeviceAction - The emulator process for AVD Pixel_7_Pro_API_34 has terminated.
com.android.tools.idea.avdmanager.EmulatorConnectionListener$EmulatorTerminatedException: The emulator process for AVD Pixel_7_Pro_API_34 has terminated.
    at com.android.tools.idea.avdmanager.EmulatorConnectionListener$WaitForEmulatorTask.run(EmulatorConnectionListener.java:93)
    at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport$executeOnPooledThread$1.run(AnyThreadWriteThreadingSupport.kt:134)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at com.intellij.util.concurrency.ContextCallable.call(ContextCallable.java:32)
    at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
    at com.intellij.util.concurrency.ContextRunnable.run(ContextRunnable.java:27)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Unknown Source)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Unknown Source)
    at java.base/java.security.AccessController.doPrivileged(Unknown Source)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Unknown Source)
    at java.base/java.lang.Thread.run(Unknown Source)
2024-11-18 09:03:59,185 [ 649318]   INFO - #c.i.w.i.i.j.s.JpsGlobalModelSynchronizerImpl - Saving global entities com.intellij.platform.workspace.jps.entities.SdkEntity to files
2024-11-18 09:03:59,185 [ 649318]   INFO - #c.i.w.i.i.j.s.JpsGlobalModelSynchronizerImpl - Saving global entities com.intellij.platform.workspace.jps.entities.LibraryEntity to files
2024-11-18 09:03:59,276 [ 649409]   INFO - #c.i.a.o.PathMacrosImpl - Saved path macros: {}
2024-11-18 09:03:59,292 [ 649425]   INFO - #c.i.c.ComponentStoreImpl - Saving appCodeInsightSettings took 16 ms, DaemonCodeAnalyzerSettings took 20 ms, FileTypeManager took 16 ms, TextDiff
android android-emulator
1个回答
0
投票

我认为您需要解决的主要问题是: 模拟器:Pixel 7 Pro API 34 - 模拟器终止并退出代码 -1073741515

这说明问题与图形驱动程序有关,或者尝试重新安装 Microsoft Visual C++ 或尝试手动更新图形驱动程序。

另外,请确保检查 BIOS 设置中的虚拟化,就像我在 android studio 中启动时一样,我也遇到了与此相关的类似问题。

谢谢你。

© www.soinside.com 2019 - 2024. All rights reserved.