E/dalvikvm: Could not find class 'android.util.ArrayMap'
问题 When I run my app on emulator, Android Studio shows this error: E/dalvikvm: Could not find class 'android.util.ArrayMap', referenced from method com.android.tools.fd.runtime.Restarter.getActivities How can I solve that? 回答1: ArrayMap is in the Support Library. You need to add it to the dependencies in build.gradle. dependencies { ... compile "com.android.support:support-core-utils:24.2.0" } 来源: https://stackoverflow.com/questions/39519754/e-dalvikvm-could-not-find-class-android-util-arraymap