gpt4 book ai didi

Android AVD 模拟器未运行应用程序,但设备运行? (OpenGL)

转载 作者:行者123 更新时间:2023-11-29 21:57:25 25 4
gpt4 key购买 nike

您好,我正在尝试在模拟器上运行一些示例 openGl 代码。我是 Android 开发的新手。它在模拟器上崩溃,但在我的设备上崩溃,三星 Galaxy Note 手机 N7000。

我试过的 AVD 设置是:

Target: Android 4.1 - API Level 16
CPU/ABI: ARM (armeabi-v7a)
SD Card: 32 MiB
Skin: Built-in : WGA800

以下是控制台上的错误:

10-15 13:23:34.287: E/Trace(621): error opening trace file: No such file or directory (2)
10-15 13:23:34.848: D/libEGL(621): Emulator without GPU support detected. Fallback to software renderer.
10-15 13:23:34.878: D/libEGL(621): loaded /system/lib/egl/libGLES_android.so
10-15 13:23:34.947: D/gralloc_goldfish(621): Emulator without GPU emulation detected.
10-15 13:23:34.977: W/dalvikvm(621): threadid=11: thread exiting with uncaught exception (group=0x40a13300)
10-15 13:23:34.977: E/AndroidRuntime(621): FATAL EXCEPTION: GLThread 72
10-15 13:23:34.977: E/AndroidRuntime(621): java.lang.IllegalArgumentException: No configs match configSpec
10-15 13:23:34.977: E/AndroidRuntime(621): at android.opengl.GLSurfaceView$BaseConfigChooser.chooseConfig(GLSurfaceView.java:863)
10-15 13:23:34.977: E/AndroidRuntime(621): at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:1024)
10-15 13:23:34.977: E/AndroidRuntime(621): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1401)
10-15 13:23:34.977: E/AndroidRuntime(621): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)
10-15 13:23:35.377: I/Choreographer(621): Skipped 67 frames! The application may be doing too much work on its main thread.
10-15 13:23:36.658: I/Choreographer(621): Skipped 72 frames! The application may be doing too much work on its main thread.

谢谢鲍勃

最佳答案

10-15 13:23:34.848: D/libEGL(621): Emulator without GPU support detected. Fallback to software renderer.

只需重新创建或编辑您的模拟器,并确保在您拥有的硬件列表下

GPU 仿真 设置为

关于Android AVD 模拟器未运行应用程序,但设备运行? (OpenGL),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12901702/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com