Adroid studio litepal闪退问题

代码:日志:

2021-05-14 14:37:56.405 22741-22741/? I/otato.timetabl: Not late-enabling -Xcheck:jni (already on)
2021-05-14 14:37:56.424 22741-22741/? I/otato.timetabl: Unquickening 12 vdex files!
2021-05-14 14:37:56.425 22741-22741/? W/otato.timetabl: Unexpected CPU variant for X86 using defaults: x86
2021-05-14 14:37:56.876 22741-22741/com.potato.timetable D/NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: true
2021-05-14 14:37:56.877 22741-22741/com.potato.timetable D/NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: true
2021-05-14 14:37:57.052 22741-22767/com.potato.timetable D/libEGL: loaded /vendor/lib/egl/libEGL_emulation.so
2021-05-14 14:37:57.054 22741-22767/com.potato.timetable D/libEGL: loaded /vendor/lib/egl/libGLESv1_CM_emulation.so
2021-05-14 14:37:57.059 22741-22767/com.potato.timetable D/libEGL: loaded /vendor/lib/egl/libGLESv2_emulation.so
2021-05-14 14:37:57.218 22741-22741/com.potato.timetable W/otato.timetabl: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (greylist, reflection, allowed)
2021-05-14 14:37:57.218 22741-22741/com.potato.timetable W/otato.timetabl: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection, allowed)
2021-05-14 14:37:57.533 22741-22741/com.potato.timetable D/LeakCanary: LeakCanary is running and ready to detect memory leaks.
2021-05-14 14:37:57.562 22741-22765/com.potato.timetable D/HostConnection: HostConnection::get() New Host Connection established 0xf2d3a460, tid 22765
2021-05-14 14:37:57.567 22741-22765/com.potato.timetable 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_YUV_Cache ANDROID_EMU_async_unmap_buffer GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_async_frame_commands ANDROID_EMU_gles_max_version_2 
2021-05-14 14:37:57.573 22741-22765/com.potato.timetable W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
2021-05-14 14:37:57.582 22741-22765/com.potato.timetable D/EGL_emulation: eglCreateContext: 0xf2d3b1f0: maj 2 min 0 rcv 2
2021-05-14 14:37:57.606 22741-22765/com.potato.timetable D/EGL_emulation: eglMakeCurrent: 0xf2d3b1f0: ver 2 0 (tinfo 0xf307be50) (first time)
2021-05-14 14:37:57.629 22741-22765/com.potato.timetable I/Gralloc4: mapper 4.x is not supported
2021-05-14 14:37:57.642 22741-22765/com.potato.timetable D/HostConnection: createUnique: call
2021-05-14 14:37:57.643 22741-22765/com.potato.timetable D/HostConnection: HostConnection::get() New Host Connection established 0xf2d3a690, tid 22765
2021-05-14 14:37:57.643 22741-22765/com.potato.timetable D/goldfish-address-space: allocate: Ask for block of size 0x100
2021-05-14 14:37:57.643 22741-22765/com.potato.timetable D/goldfish-address-space: allocate: ioctl allocate returned offset 0x3fdf7f000 size 0x2000
2021-05-14 14:37:57.650 22741-22765/com.potato.timetable 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_YUV_Cache ANDROID_EMU_async_unmap_buffer GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_async_frame_commands ANDROID_EMU_gles_max_version_2 
2021-05-14 14:37:58.964 22741-22764/com.potato.timetable D/LeakCanary: Setting up flushing for Thread[LeakCanary-Heap-Dump,5,main]
2021-05-14 14:38:01.994 22741-22764/com.potato.timetable D/LeakCanary: Setting up flushing for Thread[queued-work-looper,5,main]
 

上网找了很多文章,配置litepal该配置的都配置了,不知道问题到底出在哪里?求大佬解决

你是不是在虚拟机上运行的项目