android studio模拟器 app运行 闪退,真机可以运行
11-0804:52:41.1001490-1593/system_processE/ThrottleService:problemduringonPollAlarm:j...
11-08 04:52:41.100 1490-1593/system_process E/ThrottleService: problem during onPollAlarm: java.lang.IllegalStateException: problem parsing stats: java.io.FileNotFoundException: /proc/net/xt_qtaguid/iface_stat_all: open failed: ENOENT (No such file or directory)
11-08 04:52:46.800 1155-1155/? E/SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
11-08 04:52:46.820 2099-2099/com.example.admin.map_gaode E/Trace: error opening trace file: No such file or directory (2)
11-08 04:52:46.880 2099-2099/com.example.admin.map_gaode E/dalvikvm: Could not find class 'android.graphics.drawable.RippleDrawable', referenced from method android.support.v7.widget.AppCompatImageHelper.hasOverlappingRendering
11-08 04:52:47.050 1155-1739/? E/SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
11-08 04:52:47.140 1155-1436/? E/SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
[ 11-08 04:52:47.140 2099: 2112 D/ ]
HostConnection::get() New Host Connection established 0xb85fb030, tid 2112
11-08 04:52:47.140 2099-2112/com.example.admin.map_gaode E/AndroidRuntime: FATAL EXCEPTION: GLThread 84
java.lang.RuntimeException: createContext failed: EGL_SUCCESS
at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1193)
at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1184)
at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:1034)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1401)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)
11-08 04:52:47.320 1155-1669/? E/SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
11-08 05:02:43.056 1490-1593/system_process E/ThrottleService: problem during onPollAlarm: java.lang.IllegalStateException: problem parsing stats: java.io.FileNotFoundException: /proc/net/xt_qtaguid/iface_stat_all: open failed: ENOENT (No such file or directory) 展开
11-08 04:52:46.800 1155-1155/? E/SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
11-08 04:52:46.820 2099-2099/com.example.admin.map_gaode E/Trace: error opening trace file: No such file or directory (2)
11-08 04:52:46.880 2099-2099/com.example.admin.map_gaode E/dalvikvm: Could not find class 'android.graphics.drawable.RippleDrawable', referenced from method android.support.v7.widget.AppCompatImageHelper.hasOverlappingRendering
11-08 04:52:47.050 1155-1739/? E/SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
11-08 04:52:47.140 1155-1436/? E/SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
[ 11-08 04:52:47.140 2099: 2112 D/ ]
HostConnection::get() New Host Connection established 0xb85fb030, tid 2112
11-08 04:52:47.140 2099-2112/com.example.admin.map_gaode E/AndroidRuntime: FATAL EXCEPTION: GLThread 84
java.lang.RuntimeException: createContext failed: EGL_SUCCESS
at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1193)
at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1184)
at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:1034)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1401)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)
11-08 04:52:47.320 1155-1669/? E/SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
11-08 05:02:43.056 1490-1593/system_process E/ThrottleService: problem during onPollAlarm: java.lang.IllegalStateException: problem parsing stats: java.io.FileNotFoundException: /proc/net/xt_qtaguid/iface_stat_all: open failed: ENOENT (No such file or directory) 展开
2个回答
展开全部
这个可能是你电脑运行内存不足的问题(android studio内置的模拟器在内存是4G的电脑上根本跑不起来),但我看你的报错也可能是代码有问题(关于文件地址方面的)
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询