|
http://androidren.com/index.php?qa=380&qa_1=android-studio%E7%BC%96%E8%AF%91%E9%94%99%E8%AF%AF-constant-instant_run_replacement-exist
问题描述:
Android Studio升级到2.0后,当build.gradle修改以后,会存在缓存。这时候编译就会报类似下面的错误:
(/.gradle/2.10/taskArtifacts/taskArtifacts.bin).> enum constant INSTANT_RUN_REPLACEMENT does not exist in class com.android.manifmerger.ManifestMerger2$Invoker$Feature
解决方法:
删除.gradle/2.10/目录下的所有文件,然后重启Android Studio。
参考地址:
http://stackoverflow.com/questions/34868876/android-studio-compile-error-enum-constant-instant-run-replacement-does-not-ex
|