안드로이드스튜디오 쓰시는분중 이런에러 보신분 계신가요?!


이미지

11-18 16:15:13.325 18753-18753/? D/dalvikvm: Late-enabling CheckJNI

11-18 16:15:13.455 18753-18753/andstudy.atestsqlitebytearray_161106 I/dalvikvm: Could not find method android.app.Application.registerOnProvideAssistDataListener, referenced from method com.android.tools.fd.runtime.BootstrapApplication.registerOnProvideAssistDataListener

11-18 16:15:13.455 18753-18753/andstudy.atestsqlitebytearray_161106 W/dalvikvm: VFY: unable to resolve virtual method 223: Landroid/app/Application;.registerOnProvideAssistDataListener (Landroid/app/Application$OnProvideAssistDataListener;)V

11-18 16:15:13.455 18753-18753/andstudy.atestsqlitebytearray_161106 D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002

11-18 16:15:13.455 18753-18753/andstudy.atestsqlitebytearray_161106 I/dalvikvm: Could not find method android.app.Application.unregisterOnProvideAssistDataListener, referenced from method com.android.tools.fd.runtime.BootstrapApplication.unregisterOnProvideAssistDataListener

11-18 16:15:13.455 18753-18753/andstudy.atestsqlitebytearray_161106 W/dalvikvm: VFY: unable to resolve virtual method 226: Landroid/app/Application;.unregisterOnProvideAssistDataListener (Landroid/app/Application$OnProvideAssistDataListener;)V

11-18 16:15:13.455 18753-18753/andstudy.atestsqlitebytearray_161106 D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002

11-18 16:15:13.455 18753-18753/andstudy.atestsqlitebytearray_161106 I/InstantRun: Instant Run Runtime started. Android package is andstudy.atestsqlitebytearray_161106, real application class is null.

11-18 16:15:13.455 18753-18753/andstudy.atestsqlitebytearray_161106 V/InstantRun: Cannot find external resources, not patching them in

11-18 16:15:13.455 18753-18753/andstudy.atestsqlitebytearray_161106 V/InstantRun: Resource override is null

11-18 16:15:13.455 18753-18753/andstudy.atestsqlitebytearray_161106 V/InstantRun: No local dex slice folder: First run since installation.

11-18 16:15:13.460 18753-18753/andstudy.atestsqlitebytearray_161106 V/InstantRun: Extracting slices into /data/data/andstudy.atestsqlitebytearray_161106/files/instant-run/dex

11-18 16:15:13.460 18753-18753/andstudy.atestsqlitebytearray_161106 E/InstantRun: Could not find slices in APK; aborting.

11-18 16:15:13.460 18753-18753/andstudy.atestsqlitebytearray_161106 V/InstantRun: Cannot find dex classes, not patching them in

11-18 16:15:13.460 18753-18753/andstudy.atestsqlitebytearray_161106 W/InstantRun: No instant run dex files added to classpath

11-18 16:15:13.460 18753-18753/andstudy.atestsqlitebytearray_161106 E/dalvikvm: Could not find class 'android.util.ArrayMap', referenced from method com.android.tools.fd.runtime.MonkeyPatcher.monkeyPatchExistingResources

11-18 16:15:13.465 18753-18753/andstudy.atestsqlitebytearray_161106 W/dalvikvm: VFY: unable to resolve check-cast 1786 (Landroid/util/ArrayMap;) in Lcom/android/tools/fd/runtime/MonkeyPatcher;

11-18 16:15:13.465 18753-18753/andstudy.atestsqlitebytearray_161106 D/dalvikvm: VFY: replacing opcode 0x1f at 0x025e

11-18 16:15:13.465 18753-18753/andstudy.atestsqlitebytearray_161106 E/dalvikvm: Could not find class 'android.util.ArrayMap', referenced from method com.android.tools.fd.runtime.MonkeyPatcher.pruneResourceCache

11-18 16:15:13.465 18753-18753/andstudy.atestsqlitebytearray_161106 W/dalvikvm: VFY: unable to resolve const-class 1786 (Landroid/util/ArrayMap;) in Lcom/android/tools/fd/runtime/MonkeyPatcher;

11-18 16:15:13.465 18753-18753/andstudy.atestsqlitebytearray_161106 D/dalvikvm: VFY: replacing opcode 0x1c at 0x0060

11-18 16:15:13.540 18753-18753/andstudy.atestsqlitebytearray_161106 V/InstantRun: Starting server socket listening for package andstudy.atestsqlitebytearray_161106 on android.net.LocalSocketAddress@42747b90

11-18 16:15:13.540 18753-18753/andstudy.atestsqlitebytearray_161106 V/InstantRun: Started server for package andstudy.atestsqlitebytearray_161106

11-18 16:15:13.550 18753-18753/andstudy.atestsqlitebytearray_161106 W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/view/SearchEvent;)

11-18 16:15:13.550 18753-18753/andstudy.atestsqlitebytearray_161106 I/dalvikvm: Could not find method android.view.Window$Callback.onSearchRequested, referenced from method android.support.v7.view.WindowCallbackWrapper.onSearchRequested

11-18 16:15:13.550 18753-18753/andstudy.atestsqlitebytearray_161106 W/dalvikvm: VFY: unable to resolve interface method 15417: Landroid/view/Window$Callback;.onSearchRequested (Landroid/view/SearchEvent;)Z

11-18 16:15:13.550 18753-18753/andstudy.atestsqlitebytearray_161106 D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002

11-18 16:15:13.550 18753-18753/andstudy.atestsqlitebytearray_161106 I/dalvikvm: Could not find method android.view.Window$Callback.onWindowStartingActionMode, referenced from method android.support.v7.view.WindowCallbackWrapper.onWindowStartingActionMode

11-18 16:15:13.550 18753-18753/andstudy.atestsqlitebytearray_161106 W/dalvikvm: VFY: unable to resolve interface method 15421: Landroid/view/Window$Callback;.onWindowStartingActionMode (Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;

11-18 16:15:13.550 18753-18753/andstudy.atestsqlitebytearray_161106 D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002

11-18 16:15:13.595 18753-18753/andstudy.atestsqlitebytearray_161106 I/dalvikvm: Could not find method android.view.ViewGroup.onRtlPropertiesChanged, referenced from method android.support.v7.widget.Toolbar.onRtlPropertiesChanged

11-18 16:15:13.595 18753-18753/andstudy.atestsqlitebytearray_161106 W/dalvikvm: VFY: unable to resolve virtual method 15316: Landroid/view/ViewGroup;.onRtlPropertiesChanged (I)V

11-18 16:15:13.595 18753-18753/andstudy.atestsqlitebytearray_161106 D/dalvikvm: VFY: replacing opcode 0x6f at 0x0007

11-18 16:15:13.600 18753-18753/andstudy.atestsqlitebytearray_161106 I/dalvikvm: Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.widget.TintTypedArray.getChangingConfigurations

11-18 16:15:13.600 18753-18753/andstudy.atestsqlitebytearray_161106 W/dalvikvm: VFY: unable to resolve virtual method 647: Landroid/content/res/TypedArray;.getChangingConfigurations ()I

11-18 16:15:13.600 18753-18753/andstudy.atestsqlitebytearray_161106 D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002

11-18 16:15:13.600 18753-18753/andstudy.atestsqlitebytearray_161106 I/dalvikvm: Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.widget.TintTypedArray.getType

11-18 16:15:13.600 18753-18753/andstudy.atestsqlitebytearray_161106 W/dalvikvm: VFY: unable to resolve virtual method 669: Landroid/content/res/TypedArray;.getType (I)I

11-18 16:15:13.600 18753-18753/andstudy.atestsqlitebytearray_161106 D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002

11-18 16:15:13.655 18753-18755/andstudy.atestsqlitebytearray_161106 D/dalvikvm: GC_CONCURRENT freed 249K, 7% free 12401K/13319K, paused 12ms+11ms, total 39ms

11-18 16:15:13.655 18753-18753/andstudy.atestsqlitebytearray_161106 I/dalvikvm: Could not find method android.content.res.Resources.getDrawable, referenced from method android.support.v7.widget.ResourcesWrapper.getDrawable

11-18 16:15:13.655 18753-18753/andstudy.atestsqlitebytearray_161106 W/dalvikvm: VFY: unable to resolve virtual method 610: Landroid/content/res/Resources;.getDrawable (ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;

11-18 16:15:13.655 18753-18753/andstudy.atestsqlitebytearray_161106 D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002

11-18 16:15:13.655 18753-18753/andstudy.atestsqlitebytearray_161106 I/dalvikvm: Could not find method android.content.res.Resources.getDrawableForDensity, referenced from method android.support.v7.widget.ResourcesWrapper.getDrawableForDensity

11-18 16:15:13.655 18753-18753/andstudy.atestsqlitebytearray_161106 W/dalvikvm: VFY: unable to resolve virtual method 612: Landroid/content/res/Resources;.getDrawableForDensity (IILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;

11-18 16:15:13.655 18753-18753/andstudy.atestsqlitebytearray_161106 D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002

툴로 인한 고충은 너무 괴롭습니다 ㅠ 어제 밤부터였던것 같습니다...

AES256암복호화 작업중인 소스였습니다. 예전에 쓰던 키를 안쓰고 새로운 키로 암복호화 중였는데

갑자기 BadPaddingException 에러를 로그로 뱉어주더라구요. 그래서 호기심에...

PKCS7Padding 을 PKCS5Padding 으로 한번 바꿔봤다가...

평소 나오던 로그캣 상태가 아니라 뭔 이상한... 아래와 같은 류입니다.

VFY: unable to resolve virtual method 612: Landroid/content/res/Resources;.getDrawableForDensity

VFY라는것들로... 이루어진 로그들이 엄청 많아졌습니다.

어제부터 검색을 했더니 대부분 영문이더라구요...

앱은 이상없이 실행되는데 로그캣에 저것들만 나오고 평소 잘나오던 로그들이 안나오더라구요.

그러던중 누군가의 답변중에 2.1.2에서 2.2.2로 옮겼다는 말에 저도...

안디오를 업그레이드 해보았으나...전 그래도 동일하네요 ㅠ

모두 제거 하고 새로 설치해줘도 똑같구요.. 누군가는 instance run 기능을 아예 꺼보라는 분도 계셔서 다 해제 시켜보았으나 이래도 소용이 없네요...

아.으...할게 정말 많은데 툴로 인한 고통... 괴롭습니다 ㅠ 도와주세요~!!

  • 2016년 11월 18일에 작성됨

조회수 81


1 답변


Could not find class 'android.util.ArrayMap'

뭐가 오류인지는 잘 모르겠습니다만, Android SDK 도 재설치 하셨는지요?

  • 2016년 11월 29일에 작성됨
    Java / Android 개발을 맡고있는 너드입니다

로그인이 필요한 기능입니다.

Hashcode는 개발자들을 위한 무료 QnA사이트 입니다. 작성한 답변에 다른 개발자들이 댓글을 작성하거나 좋아요/싫어요를 할 수 있기 때문에 계정을 필요로 합니다.
► 로그인
► 계정만들기
Close