uj5u.com熱心網友回復:
進入除錯狀態,看看logcat輸出資訊uj5u.com熱心網友回復:
2020-03-19 14:54:00.951 25899-25899/com.example.shiyan51 I/xample.shiyan5: Not late-enabling -Xcheck:jni (already on)2020-03-19 14:54:00.993 25899-25899/com.example.shiyan51 E/xample.shiyan5: Unknown bits set in runtime_flags: 0x8000
2020-03-19 14:54:00.994 25899-25899/com.example.shiyan51 W/xample.shiyan5: Unexpected CPU variant for X86 using defaults: x86
2020-03-19 14:54:01.370 25899-25899/com.example.shiyan51 W/ActivityThread: Application com.example.shiyan51 is waiting for the debugger on port 8100...
2020-03-19 14:54:01.376 25899-25899/com.example.shiyan51 I/System.out: Sending WAIT chunk
2020-03-19 14:54:04.056 25899-25899/com.example.shiyan51 I/System.out: Debugger has connected
2020-03-19 14:54:04.056 25899-25899/com.example.shiyan51 I/System.out: waiting for debugger to settle...
2020-03-19 14:54:04.259 25899-25899/com.example.shiyan51 I/System.out: waiting for debugger to settle...
2020-03-19 14:54:04.464 25899-25899/com.example.shiyan51 I/System.out: waiting for debugger to settle...
2020-03-19 14:54:04.667 25899-25899/com.example.shiyan51 I/System.out: waiting for debugger to settle...
2020-03-19 14:54:05.080 25899-25899/com.example.shiyan51 I/chatty: uid=10139(com.example.shiyan51) identical 2 lines
2020-03-19 14:54:05.286 25899-25899/com.example.shiyan51 I/System.out: waiting for debugger to settle...
2020-03-19 14:54:05.489 25899-25899/com.example.shiyan51 I/System.out: waiting for debugger to settle...
2020-03-19 14:54:06.095 25899-25899/com.example.shiyan51 I/chatty: uid=10139(com.example.shiyan51) identical 3 lines
2020-03-19 14:54:06.298 25899-25899/com.example.shiyan51 I/System.out: waiting for debugger to settle...
2020-03-19 14:54:06.500 25899-25899/com.example.shiyan51 I/System.out: debugger has settled (1342)
2020-03-19 14:54:06.688 25899-25938/com.example.shiyan51 D/libEGL: Emulator has host GPU support, qemu.gles is set to 1.
2020-03-19 14:54:06.681 25899-25899/com.example.shiyan51 W/RenderThread: type=1400 audit(0.0:77): avc: denied { write } for name="property_service" dev="tmpfs" ino=6970 scontext=u:r:untrusted_app:s0:c139,c256,c512,c768 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0 app=com.example.shiyan51
2020-03-19 14:54:06.689 25899-25938/com.example.shiyan51 W/libc: Unable to set property "qemu.gles" to "1": connection failed; errno=13 (Permission denied)
2020-03-19 14:54:06.724 25899-25938/com.example.shiyan51 D/libEGL: loaded /vendor/lib/egl/libEGL_emulation.so
2020-03-19 14:54:06.731 25899-25938/com.example.shiyan51 D/libEGL: loaded /vendor/lib/egl/libGLESv1_CM_emulation.so
2020-03-19 14:54:06.741 25899-25938/com.example.shiyan51 D/libEGL: loaded /vendor/lib/egl/libGLESv2_emulation.so
2020-03-19 14:54:07.247 25899-25899/com.example.shiyan51 W/xample.shiyan5: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (greylist, reflection, allowed)
2020-03-19 14:54:07.248 25899-25899/com.example.shiyan51 W/xample.shiyan5: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection, allowed)
2020-03-19 14:54:07.645 25899-25936/com.example.shiyan51 D/HostConnection: HostConnection::get() New Host Connection established 0xda3db990, tid 25936
2020-03-19 14:54:07.658 25899-25936/com.example.shiyan51 D/HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_3_1
2020-03-19 14:54:07.664 25899-25936/com.example.shiyan51 W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
2020-03-19 14:54:07.668 25899-25936/com.example.shiyan51 D/EGL_emulation: eglCreateContext: 0xda3d3600: maj 3 min 1 rcv 4
2020-03-19 14:54:07.701 25899-25936/com.example.shiyan51 D/EGL_emulation: eglMakeCurrent: 0xda3d3600: ver 3 1 (tinfo 0xda3a5630)
2020-03-19 14:54:07.702 25899-25936/com.example.shiyan51 E/eglCodecCommon: glUtilsParamSize: unknow param 0x000082da
2020-03-19 14:54:07.702 25899-25936/com.example.shiyan51 E/eglCodecCommon: glUtilsParamSize: unknow param 0x000082da
2020-03-19 14:54:07.751 25899-25936/com.example.shiyan51 W/Gralloc3: mapper 3.x is not supported
2020-03-19 14:54:07.752 25899-25936/com.example.shiyan51 D/HostConnection: createUnique: call
2020-03-19 14:54:07.753 25899-25936/com.example.shiyan51 D/HostConnection: HostConnection::get() New Host Connection established 0xda3dba80, tid 25936
2020-03-19 14:54:07.764 25899-25936/com.example.shiyan51 D/HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_3_1
2020-03-19 14:54:07.764 25899-25936/com.example.shiyan51 D/eglCodecCommon: allocate: Ask for block of size 0x1000
2020-03-19 14:54:07.765 25899-25936/com.example.shiyan51 D/eglCodecCommon: allocate: ioctl allocate returned offset 0x3ff1dc000 size 0x2000
2020-03-19 14:54:07.848 25899-25936/com.example.shiyan51 D/EGL_emulation: eglMakeCurrent: 0xda3d3600: ver 3 1 (tinfo 0xda3a5630)
2020-03-19 14:54:08.134 25899-25899/com.example.shiyan51 I/Choreographer: Skipped 34 frames! The application may be doing too much work on its main thread.
uj5u.com熱心網友回復:
2020-03-19 14:54:00.951 25899-25899/com.example.shiyan51 I/xample.shiyan5: Not late-enabling -Xcheck:jni (already on)
2020-03-19 14:54:00.993 25899-25899/com.example.shiyan51 E/xample.shiyan5: Unknown bits set in runtime_flags: 0x8000
2020-03-19 14:54:00.994 25899-25899/com.example.shiyan51 W/xample.shiyan5: Unexpected CPU variant for X86 using defaults: x86
2020-03-19 14:54:01.370 25899-25899/com.example.shiyan51 W/ActivityThread: Application com.example.shiyan51 is waiting for the debugger on port 8100...
2020-03-19 14:54:01.376 25899-25899/com.example.shiyan51 I/System.out: Sending WAIT chunk
2020-03-19 14:54:04.056 25899-25899/com.example.shiyan51 I/System.out: Debugger has connected
2020-03-19 14:54:04.056 25899-25899/com.example.shiyan51 I/System.out: waiting for debugger to settle...
2020-03-19 14:54:04.259 25899-25899/com.example.shiyan51 I/System.out: waiting for debugger to settle...
2020-03-19 14:54:04.464 25899-25899/com.example.shiyan51 I/System.out: waiting for debugger to settle...
2020-03-19 14:54:04.667 25899-25899/com.example.shiyan51 I/System.out: waiting for debugger to settle...
2020-03-19 14:54:05.080 25899-25899/com.example.shiyan51 I/chatty: uid=10139(com.example.shiyan51) identical 2 lines
2020-03-19 14:54:05.286 25899-25899/com.example.shiyan51 I/System.out: waiting for debugger to settle...
2020-03-19 14:54:05.489 25899-25899/com.example.shiyan51 I/System.out: waiting for debugger to settle...
2020-03-19 14:54:06.095 25899-25899/com.example.shiyan51 I/chatty: uid=10139(com.example.shiyan51) identical 3 lines
2020-03-19 14:54:06.298 25899-25899/com.example.shiyan51 I/System.out: waiting for debugger to settle...
2020-03-19 14:54:06.500 25899-25899/com.example.shiyan51 I/System.out: debugger has settled (1342)
2020-03-19 14:54:06.688 25899-25938/com.example.shiyan51 D/libEGL: Emulator has host GPU support, qemu.gles is set to 1.
2020-03-19 14:54:06.681 25899-25899/com.example.shiyan51 W/RenderThread: type=1400 audit(0.0:77): avc: denied { write } for name="property_service" dev="tmpfs" ino=6970 scontext=u:r:untrusted_app:s0:c139,c256,c512,c768 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0 app=com.example.shiyan51
2020-03-19 14:54:06.689 25899-25938/com.example.shiyan51 W/libc: Unable to set property "qemu.gles" to "1": connection failed; errno=13 (Permission denied)
2020-03-19 14:54:06.724 25899-25938/com.example.shiyan51 D/libEGL: loaded /vendor/lib/egl/libEGL_emulation.so
2020-03-19 14:54:06.731 25899-25938/com.example.shiyan51 D/libEGL: loaded /vendor/lib/egl/libGLESv1_CM_emulation.so
2020-03-19 14:54:06.741 25899-25938/com.example.shiyan51 D/libEGL: loaded /vendor/lib/egl/libGLESv2_emulation.so
2020-03-19 14:54:07.247 25899-25899/com.example.shiyan51 W/xample.shiyan5: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (greylist, reflection, allowed)
2020-03-19 14:54:07.248 25899-25899/com.example.shiyan51 W/xample.shiyan5: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection, allowed)
2020-03-19 14:54:07.645 25899-25936/com.example.shiyan51 D/HostConnection: HostConnection::get() New Host Connection established 0xda3db990, tid 25936
2020-03-19 14:54:07.658 25899-25936/com.example.shiyan51 D/HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_3_1
2020-03-19 14:54:07.664 25899-25936/com.example.shiyan51 W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
2020-03-19 14:54:07.668 25899-25936/com.example.shiyan51 D/EGL_emulation: eglCreateContext: 0xda3d3600: maj 3 min 1 rcv 4
2020-03-19 14:54:07.701 25899-25936/com.example.shiyan51 D/EGL_emulation: eglMakeCurrent: 0xda3d3600: ver 3 1 (tinfo 0xda3a5630)
2020-03-19 14:54:07.702 25899-25936/com.example.shiyan51 E/eglCodecCommon: glUtilsParamSize: unknow param 0x000082da
2020-03-19 14:54:07.702 25899-25936/com.example.shiyan51 E/eglCodecCommon: glUtilsParamSize: unknow param 0x000082da
2020-03-19 14:54:07.751 25899-25936/com.example.shiyan51 W/Gralloc3: mapper 3.x is not supported
2020-03-19 14:54:07.752 25899-25936/com.example.shiyan51 D/HostConnection: createUnique: call
2020-03-19 14:54:07.753 25899-25936/com.example.shiyan51 D/HostConnection: HostConnection::get() New Host Connection established 0xda3dba80, tid 25936
2020-03-19 14:54:07.764 25899-25936/com.example.shiyan51 D/HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_3_1
2020-03-19 14:54:07.764 25899-25936/com.example.shiyan51 D/eglCodecCommon: allocate: Ask for block of size 0x1000
2020-03-19 14:54:07.765 25899-25936/com.example.shiyan51 D/eglCodecCommon: allocate: ioctl allocate returned offset 0x3ff1dc000 size 0x2000
2020-03-19 14:54:07.848 25899-25936/com.example.shiyan51 D/EGL_emulation: eglMakeCurrent: 0xda3d3600: ver 3 1 (tinfo 0xda3a5630)
2020-03-19 14:54:08.134 25899-25899/com.example.shiyan51 I/Choreographer: Skipped 34 frames! The application may be doing too much work on its main thread.
uj5u.com熱心網友回復:
日志沒對,見新手博客常見問題1:https://blog.csdn.net/weimingjue/article/details/87921494轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/51761.html
標籤:Android
