E / dalvikvm:找不到上课

时间:2016-02-01 15:15:20

标签: android logcat

当我触摸操作栏按钮时,我的Android应用程序出现了锁定状态。我甚至没有得到ANR对话。

我看到的唯一LogCat错误是:

02-01 14:59:15.328 30107-30170/com.complync.complyncmobile E/dalvikvm: Could not find class 'android.util.ArrayMap', referenced from method com.android.tools.fd.runtime.Restarter.getActivities
02-01 14:59:27.241 6513-6513/com.complync.complyncmobile E/Trace: error opening trace file: Permission denied (13)
02-01 14:59:29.563 6513-6513/com.complync.complyncmobile E/dalvikvm: Could not find class 'android.app.Application$OnProvideAssistDataListener', referenced from method com.complync.complyncmobile.Happlication.access$super
02-01 14:59:29.563 6513-6513/com.complync.complyncmobile E/dalvikvm: Could not find class 'android.app.Application$OnProvideAssistDataListener', referenced from method com.complync.complyncmobile.Happlication.access$super
02-01 14:59:29.603 6513-6513/com.complync.complyncmobile E/dalvikvm: Could not find class 'android.util.ArrayMap', referenced from method com.android.tools.fd.runtime.MonkeyPatcher.monkeyPatchExistingResources
02-01 14:59:29.923 6513-6513/com.complync.complyncmobile E/dalvikvm: Could not find class 'android.view.View$OnApplyWindowInsetsListener', referenced from method com.complync.complyncmobile.compoundcontrols.NumericKeypad.access$super
02-01 14:59:29.934 6513-6513/com.complync.complyncmobile E/dalvikvm: Could not find class 'android.view.WindowInsets', referenced from method com.complync.complyncmobile.compoundcontrols.NumericKeypad.access$super
02-01 14:59:29.954 6513-6513/com.complync.complyncmobile E/dalvikvm: Could not find class 'android.view.WindowInsets', referenced from method com.complync.complyncmobile.compoundcontrols.NumericKeypad.access$super
02-01 15:00:18.215 6513-6633/com.complync.complyncmobile E/dalvikvm: Could not find class 'java.beans.Transient', referenced from method com.fasterxml.jackson.databind.introspect.JacksonAnnotationIntrospector$Java7Support.<init>
02-01 15:00:18.225 6513-6633/com.complync.complyncmobile E/dalvikvm: Could not find class 'java.beans.ConstructorProperties', referenced from method com.fasterxml.jackson.databind.introspect.JacksonAnnotationIntrospector$Java7Support.findConstructorName
02-01 15:00:18.225 6513-6633/com.complync.complyncmobile E/dalvikvm: Could not find class 'java.beans.Transient', referenced from method com.fasterxml.jackson.databind.introspect.JacksonAnnotationIntrospector$Java7Support.findTransient
02-01 15:00:18.225 6513-6633/com.complync.complyncmobile E/dalvikvm: Could not find class 'java.beans.ConstructorProperties', referenced from method com.fasterxml.jackson.databind.introspect.JacksonAnnotationIntrospector$Java7Support.hasCreatorAnnotation

我很难理解这些错误的根源。

1 个答案:

答案 0 :(得分:3)

您获得的日志是正常的。它们只是有条理地表示从代码中引用的那些类。因此,它们是否存在并不重要。

找不到上述课程,因为它们不会存在于您的设备或您正在运行该应用的模拟器上。

为什么他们不存在?因为它们是在较新的Android版本中引入的。

从日志中提取您的第一堂课,例如:

  

找不到类&#39; android.util.ArrayMap&#39;

API level 19中引入了ArrayMap,可能是您在旧版本上运行应用程序,这就是记录错误的原因。然而,它们是无害的。