2016-02-01 7 views
6

Ich erhalte eine Sperre in meiner Android-App, wenn ich eine Aktionsleistenschaltfläche berühre. Ich bekomme nicht einmal einen ANR-Dialog.E/dalvikvm: Ich konnte keine Klasse finden

Die einzigen LogCat Fehler ich sehe sind:

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 

Ich kämpfe den Ursprung dieser Fehler zu verstehen.

+0

können Sie einen Code schreiben –

+0

Ich bin auch mit dem gleichen Problem konfrontiert, Anwendung stürzt nicht ab, aber Protokoll Katze zeigt viele Fehler. –

+0

Ich habe das gleiche Problem. Hat jemand das Grundproblem gefunden? –

Antwort

2

Die Protokolle, die Sie erhalten, sind normal. Sie stellen einfach die Klassen dar, die aus Ihrem Code bedingt stammen. Es spielt also keine Rolle, ob sie existieren oder nicht.

Die genannten Klassen werden nicht gefunden, da sie nicht auf Ihrem Gerät oder dem Emulator vorhanden sind, auf dem Sie die App ausführen.

Warum existieren sie nicht? Weil sie in neueren Android-Versionen eingeführt wurden.

Pickup Ihre erste Klasse aus dem Protokoll zum Beispiel:

kann nicht Klasse 'android.util.ArrayMap'

ArrayMap in API level 19 eingeführt wurde, wahrscheinlich laufen lassen Sie Ihre Anwendung finden auf einer älteren Version, und deshalb wird der Fehler protokolliert. Sie sind jedoch harmlos.

Verwandte Themen