V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
beiji2027
V2EX  ›  Android

求教一下: Android-Studio 使用 AVD 时,一打开 Pixel 中的 Chrome 就闪退

  •  
  •   beiji2027 · 2023-11-04 21:30:34 +08:00 · 7748 次点击
    这是一个创建于 389 天前的主题,其中的信息可能已经有所发展或是发生改变。
    ./studio.sh 
    CompileCommand: exclude com/intellij/openapi/vfs/impl/FilePartNodeRoot.trieDescend bool exclude = true
    2023-11-04 21:18:01,708 [ 284586]   WARN - #c.i.o.a.i.ActionUpdater - 577 ms to grab EDT for AndroidNewProjectAction#update@WelcomeScreen (WelcomeScreenActionsUtil$LargeIconWithTextWrapper/com.android.tools.idea.npw.actions.AndroidNewProjectAction)
    2023-11-04 21:18:01,891 [ 284769]   WARN - #com.android.tools.idea.avdmanager.AvdManagerConnection - Unable to determine if t1 is online, assuming it's not
    2023-11-04 21:18:06,160 [ 289038]   WARN - #c.i.u.j.JBCefApp - JCEF runtime library is not a JBR module (Use JBR bundled with the IDE)
    2023-11-04 21:18:06,644 [ 289522]   WARN - #com.android.ddmlib - * daemon not running; starting now at tcp:5037
    2023-11-04 21:18:06,922 [ 289800]   WARN - #com.android.ddmlib - * daemon started successfully
    2023-11-04 21:18:07,715 [ 290593]   WARN - Emulator: t1 - Please update the emulator to one that supports the feature(s): SupportPixelFold
    2023-11-04 21:18:08,789 [ 291667]   WARN - Emulator: t1 - cannot add library /home/qlzq/500/Yib-sdk/emulator/qemu/linux-x86_64/lib64/vulkan/libvulkan.so: failed
    2023-11-04 21:18:10,158 [ 293036]   WARN - Emulator: t1 - *** No gRPC protection active, consider launching with the -grpc-use-jwt flag.***
    2023-11-04 21:18:32,320 [ 315198]   WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
    2023-11-04 21:18:33,453 [ 316331]   WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
    2023-11-04 21:18:34,483 [ 317361]   WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
    2023-11-04 21:18:35,549 [ 318427]   WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
    2023-11-04 21:18:36,621 [ 319499]   WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
    2023-11-04 21:18:37,733 [ 320611]   WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
    2023-11-04 21:18:38,793 [ 321671]   WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
    2023-11-04 21:18:39,871 [ 322749]   WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
    2023-11-04 21:18:40,946 [ 323824]   WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
    2023-11-04 21:18:42,006 [ 324884]   WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
    2023-11-04 21:18:43,045 [ 325923]   WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
    2023-11-04 21:18:44,142 [ 327020]   WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
    2023-11-04 21:18:45,277 [ 328155]   WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
    2023-11-04 21:18:46,330 [ 329208]   WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
    2023-11-04 21:18:47,394 [ 330272]   WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
    2023-11-04 21:18:48,459 [ 331337]   WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
    2023-11-04 21:18:49,530 [ 332408]   WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
    2023-11-04 21:18:50,634 [ 333512]   WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
    2023-11-04 21:18:51,713 [ 334591]   WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
    2023-11-04 21:18:52,807 [ 335685]   WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
    2023-11-04 21:18:53,846 [ 336724]   WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
    2023-11-04 21:18:54,912 [ 337790]   WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
    2023-11-04 21:18:55,979 [ 338857]   WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
    2023-11-04 21:18:57,076 [ 339954]   WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
    2023-11-04 21:18:58,165 [ 341043]   WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
    2023-11-04 21:18:59,261 [ 342139]   WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
    2023-11-04 21:19:00,329 [ 343207]   WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
    2023-11-04 21:19:01,389 [ 344267]   WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
    2023-11-04 21:19:02,499 [ 345377]   WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
    2023-11-04 21:26:14,811 [ 777689] SEVERE - Emulator: t1 - Emulator terminated with exit code 139
    java.lang.Throwable: Emulator terminated with exit code 139
    	at com.intellij.openapi.diagnostic.Logger.error(Logger.java:202)
    	at com.android.tools.idea.avdmanager.EmulatorProcessHandler$ConsoleListener.onTextAvailable(EmulatorProcessHandler.kt:89)
    	at jdk.internal.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
    	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    	at com.intellij.execution.process.ProcessHandler$2.invoke(ProcessHandler.java:248)
    	at jdk.proxy2/jdk.proxy2.$Proxy39.onTextAvailable(Unknown Source)
    	at com.intellij.execution.process.ProcessHandler.notifyTextAvailable(ProcessHandler.java:222)
    	at com.intellij.execution.process.ProcessTerminatedListener.processTerminated(ProcessTerminatedListener.java:54)
    	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    	at com.intellij.execution.process.ProcessHandler$2.invoke(ProcessHandler.java:248)
    	at jdk.proxy2/jdk.proxy2.$Proxy39.processTerminated(Unknown Source)
    	at com.intellij.execution.process.ProcessHandler.lambda$notifyTerminated$2(ProcessHandler.java:206)
    	at com.intellij.execution.process.ProcessHandler$TasksRunner.execute(ProcessHandler.java:281)
    	at com.intellij.execution.process.ProcessHandler.notifyTerminated(ProcessHandler.java:189)
    	at com.intellij.execution.process.ProcessHandler.notifyProcessTerminated(ProcessHandler.java:185)
    	at com.intellij.execution.process.BaseProcessHandler.onOSProcessTerminated(BaseProcessHandler.java:61)
    	at com.intellij.execution.process.BaseOSProcessHandler$1.lambda$startNotified$0(BaseOSProcessHandler.java:98)
    	at com.intellij.execution.process.ProcessWaitFor.lambda$new$0(ProcessWaitFor.java:45)
    	at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:212)
    	at com.intellij.execution.process.ProcessWaitFor.lambda$new$1(ProcessWaitFor.java:23)
    	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
    	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
    	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
    	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
    	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
    	at java.base/java.lang.Thread.run(Thread.java:833)
    2023-11-04 21:26:14,820 [ 777698] SEVERE - Emulator: t1 - Android Studio Giraffe | 2022.3.1 Patch 2  Build #AI-223.8836.35.2231.10811636
    2023-11-04 21:26:14,820 [ 777698] SEVERE - Emulator: t1 - JDK: 17.0.6; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
    2023-11-04 21:26:14,821 [ 777699] SEVERE - Emulator: t1 - OS: Linux
    
    2 条回复    2023-11-05 13:55:21 +08:00
    winterbells
        1
    winterbells  
       2023-11-04 22:23:50 +08:00 via Android
    这个问题有一年多了,我是装了 Firefox 用的
    大于 10 的模拟器上就这样
    beiji2027
        2
    beiji2027  
    OP
       2023-11-05 13:55:21 +08:00
    @winterbells 谢谢指点。确实如此,经你提醒,我多次测试,这个问题应该是和电脑硬件有关,越新的硬件可能就能模拟新一些的安卓,越旧的硬件可能就得模拟旧一些的安卓。终于能用了,再次感谢!
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1080 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 19:30 · PVG 03:30 · LAX 11:30 · JFK 14:30
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.