Android Studio使用问题之Instant Run

目录

Android Studio的Instant Run是2.0以后的版本新给出的特性,旨在快速运行新修改的程序。可是最近在开发过程中,发现Android 4.4.4的机器运行报以下错误:

Unable to instantiate application com.android.tools.fd.runtime.BootstrapApplication:
java.lang.ClassNotFoundException: Didn’t find class
“com.android.tools.fd.runtime.BootstrapApplication” on path:
DexPathList[[zip file “/data/app/com.elitech.rb.debug-1.apk”],
nativeLibraryDirectories=[/data/app-lib/com.elitech.rb.debug-1, /system/lib]]

这里只要把Instant Run禁用掉就可以了:Settings–> Build,Execution,Deployment –>Instant Run