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?
com.android.tools.fd.runtime
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" }
com.android.tools.fd.runtimeor something like that, you can't, as it is not your problem. - CommonsWare