Android 模拟器 (AVD) 崩溃原因:EXCEPTION_ACCESS_VIOLATION_READ

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

启动模拟器时出现以下错误。

已经尝试删除所有内容(包括.android、avd、sdk文件夹)并重新安装Studio、SDK、Nvidia驱动程序,但没有任何帮助

Windows 11

工作室版本:

Android Studio Hedgehog | 2023.1.1 Patch 2
Build #AI-231.9392.1.2311.11330709, built on January 19, 2024
Runtime version: 17.0.7+0-b2043.56-10550314 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11.0
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 6

模拟器启动期间出错:

Operating system: Windows NT
                  10.0.22631 3007
CPU: amd64
     family 6 model 158 stepping 10
     6 CPUs

GPU: UNKNOWN

Crash reason:  EXCEPTION_ACCESS_VIOLATION_READ
Crash address: 0x234f114d878
Process uptime: 7 seconds

Thread 35 (crashed)
 0  libgfxstream_backend.dll + 0xdc9eb
 
    rax = 0x00007ff82003c990   rdx = 0x00000233e9bfbbc0
    rcx = 0x000001aee43b34d0   rbx = 0x000001aee61d3ba8
    rsi = 0xffff8800103ff5f0   rdi = 0x00000234f114d860
    rbp = 0x0000000000000004   rsp = 0x0000002dd25ff590
     r8 = 0xffff8800103ff5f0    r9 = 0x00007ff6a7657501
    r10 = 0x00007ff8c9bf0000   r11 = 0x0000000000000020
    r12 = 0x0000000000000000   r13 = 0x0000000000000020
    r14 = 0x0000000000000004   r15 = 0x0000000000000004
    rip = 0x00007ff82003c9eb
    Found by: given as instruction pointer in context

    Stack contents:
     0000002dd25ff590 18 7a 7a 4b 00 00 00 00 50 f6 5f d2 2d 00 00 00  .zzK....P._.-...
     0000002dd25ff5a0 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00  ................
     0000002dd25ff5b0 04 00 00 00 00 00 00 00 e1 ea 32 a5 f6 7f 00 00  ..........2.....
    Possible instruction pointers:

 1  qemu-system-x86_64.exe + 0x1eae1
 
    rsp = 0x0000002dd25ff5c0   rip = 0x00007ff6a532eae1
    Found by: stack scanning

    Stack contents:
     0000002dd25ff5c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
     0000002dd25ff5d0 00 00 00 00 00 00 00 00 51 b4 6d a5 f6 7f 00 00  ........Q.m.....
    Possible instruction pointers:

 2  qemu-system-x86_64.exe + 0x3cb451
 
    rsp = 0x0000002dd25ff5e0   rip = 0x00007ff6a56db451
    Found by: stack scanning

    Stack contents:
     0000002dd25ff5e0 20 00 00 00 af 01 00 00 20 00 00 00 00 00 00 00   ....... .......
     0000002dd25ff5f0 a8 3b 1d e6 ae 01 00 00 00 00 00 00 00 00 00 00  .;..............
     0000002dd25ff600 a0 38 1d e6 ae 01 00 00 99 b0 3b a5 f6 7f 00 00  .8........;.....
    Possible instruction pointers:

 3  qemu-system-x86_64.exe + 0xab099
 
    rsp = 0x0000002dd25ff610   rip = 0x00007ff6a53bb099
    Found by: stack scanning

    Stack contents:
     0000002dd25ff610 ff 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
     0000002dd25ff620 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
     0000002dd25ff630 00 00 00 00 00 00 00 00 64 a4 3d a5 f6 7f 00 00  ........d.=.....
    Possible instruction pointers:

有趣的是它没有检测到 GPU...不知道这是否是这里的主要问题

我尝试过

emulator -avd Pixel_2_API_29 -gpu host
但仍然
GPU: UNKNOWN, Crash reason:  EXCEPTION_ACCESS_VIOLATION_READ

android-studio android-emulator
1个回答
0
投票

蒸汽似乎是罪魁祸首。

右键单击系统托盘上的 Steam,然后选择“退出流”。

稍后尝试再次启动模拟器。

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