我在Visual Studio 2017中使用Xamarin,并使用PCL项目在C#中编码。我目前正面临一个问题,即我的应用程序大部分时间都会崩溃,偶尔也可以正常运行。但是,我不确定是什么导致这种情况需要帮助。下面显示了我得到的一个错误的片段。
12482): JNI ERROR (app bug): attempt to use stale local reference 0x200001 (should be 0x1)
07-06 14:02:49.923 F/art (12482): art/runtime/java_vm_ext.cc:470] JNI DETECTED ERROR IN APPLICATION: use of deleted local reference 0x200001
清理并重建我的机器人代码后,我收到此错误
07-06 13:52:48.094 F/art (11846): art/runtime/java_vm_ext.cc:470] JNI DETECTED ERROR IN APPLICATION: jclass has wrong type: java.lang.String
07-06 13:52:48.094 F/art (11846): art/runtime/java_vm_ext.cc:470] in call to CallStaticObjectMethod
07-06 13:52:48.094 F/art (11846): art/runtime/java_vm_ext.cc:470] "Thread-13" prio=5 tid=19 Runnable
07-06 13:52:48.094 F/art (11846): art/runtime/java_vm_ext.cc:470] | group="main" sCount=0 dsCount=0 obj=0x12d95790 self=0x7f7bba9800
07-06 13:52:48.094 F/art (11846): art/runtime/java_vm_ext.cc:470] | sysTid=11881 nice=0 cgrp=default sched=0/0 handle=0x7f79f46450
07-06 13:52:48.094 F/art (11846): art/runtime/java_vm_ext.cc:470] | state=R schedstat=( 33691566 9679324 130 ) utm=3 stm=0 core=0 HZ=100
07-06 13:52:48.094 F/art (11846): art/runtime/java_vm_ext.cc:470] | stack=0x7f79d48000-0x7f79d4a000 stackSize=2045KB
07-06 13:52:48.094 F/art (11846): art/runtime/java_vm_ext.cc:470] | held mutexes= "mutator lock"(shared held)
清理并重建我的PCL后,我收到第一个错误。有没有人知道这些日志可能出了什么问题?