大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。
Jetbrains全系列IDE使用 1年只要46元 售后保障 童叟无欺
以下报错是什么原因呢?跟了很久的代码,也没有找到具体原因
2021-07-16 16:30:15 07-16 16:30:15.825 11812 13216 I HwAudioRecordImpl: sendStateChangedIntent, state=1
2021-07-16 16:30:15 07-16 16:30:15.826 11812 13216 I HwAudioRecordImpl: sendStateChangedIntent, state=1
2021-07-16 16:30:15 07-16 16:30:15.888 11812 13163 F art : art/runtime/java_vm_ext.cc:470] JNI DETECTED ERROR IN APPLICATION: obj == null
2021-07-16 16:30:15 07-16 16:30:15.889 11812 13163 F art : art/runtime/java_vm_ext.cc:470] in call to CallVoidMethodV
2021-07-16 16:30:15 07-16 16:30:15.889 11812 13163 F art : art/runtime/java_vm_ext.cc:470] "Thread-33" prio=5 tid=34 Runnable
2021-07-16 16:30:15 07-16 16:30:15.889 11812 13163 F art : art/runtime/java_vm_ext.cc:470] | group="main" sCount=0 dsCount=0 obj=0x13664c10 self=0x7b97a0e800
2021-07-16 16:30:15 07-16 16:30:15.889 11812 13163 F art : art/runtime/java_vm_ext.cc:470] | sysTid=13163 nice=0 cgrp=default sched=0/0 handle=0x7bbbbff450
2021-07-16 16:30:15 07-16 16:30:15.889 11812 13163 F art : art/runtime/java_vm_ext.cc:470] | state=R schedstat=( 4989646882 360926036 3412 ) utm=414 stm=84 core=3 HZ=100
2021-07-16 16:30:15 07-16 16:30:15.889 11812 13163 F art : art/runtime/java_vm_ext.cc:470] | stack=0x7bbbb05000-0x7bbbb07000 stackSize=1005KB
2021-07-16 16:30:15 07-16 16:30:15.889 11812 13163 F art : art/runtime/java_vm_ext.cc:470] | held mutexes= "mutator lock"(shared held)
2021-07-16 16:30:15 07-16 16:30:15.889 11812 13163 F art : art/runtime/java_vm_ext.cc:470] (no managed stack frames)
2021-07-16 16:30:15 07-16 16:30:15.889 11812 13163 F art : art/runtime/java_vm_ext.cc:470]
2021-07-16 16:30:15 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] Runtime aborting...
2021-07-16 16:30:15 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] Aborting thread:
2021-07-16 16:30:15 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] "Thread-33" prio=5 tid=34 Native
2021-07-16 16:30:15 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] | group="" sCount=0 dsCount=0 obj=0x13664c10 self=0x7b97a0e800
2021-07-16 16:30:15 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] | sysTid=13163 nice=0 cgrp=default sched=0/0 handle=0x7bbbbff450
2021-07-16 16:30:15 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] | state=R schedstat=( 4990639590 360926036 3412 ) utm=414 stm=84 core=3 HZ=100
2021-07-16 16:30:15 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] | stack=0x7bbbb05000-0x7bbbb07000 stackSize=1005KB
2021-07-16 16:30:15 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] | held mutexes= "abort lock"
2021-07-16 16:30:15 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] (no managed stack frames)
2021-07-16 16:30:15 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] Dumping all threads without appropriate locks held: thread list lock mutator lock
2021-07-16 16:30:15 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] All threads:
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] DALVIK THREADS (38):
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] "Thread-33" prio=5 tid=34 Runnable
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] | group="" sCount=0 dsCount=0 obj=0x13664c10 self=0x7b97a0e800
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] | sysTid=13163 nice=0 cgrp=default sched=0/0 handle=0x7bbbbff450
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] | state=R schedstat=( 5015196360 361138016 3417 ) utm=414 stm=86 core=3 HZ=100
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] | stack=0x7bbbb05000-0x7bbbb07000 stackSize=1005KB
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] | held mutexes= "abort lock" "mutator lock"(shared held)
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] (no managed stack frames)
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408]
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] "main" prio=5 tid=1 Native
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] | group="" sCount=1 dsCount=0 obj=0x77e810b0 self=0x7bedea1a00
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] | sysTid=11812 nice=0 cgrp=default sched=0/0 handle=0x7bf1e77aa0
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] | state=S schedstat=( 7586139133 1600515603 18521 ) utm=648 stm=109 core=1 HZ=100
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] | stack=0x7fd8be8000-0x7fd8bea000 stackSize=8MB
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] | held mutexes=
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] kernel: __switch_to+0x80/0x98
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] kernel: SyS_epoll_wait+0x36c/0x4e8
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] kernel: SyS_epoll_pwait+0x170/0x17c
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] kernel: el0_svc_naked+0x24/0x28
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] at android.os.MessageQueue.nativePollOnce(Native method)
看了一下,应该是多线程造成的。
可以参考一下:https://blog.csdn.net/itheimach/article/details/78952304的解决方案,先试一下,看有没有效果。
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/194512.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...