I'm getting following error in my project with Android Studio 2.0 preview 5 and gradle plugin 1.5.0. Even clean project throws the same error.
EtaskArtifacts.bin .gradle/2.11/taskArtifacts/taskArtifacts.bin). > rror:Could not read entry ':app:processDebugManifest' from cache taskArtifacts.bin (/PROJECT_PATH/.gradle/2.10/taskArtifacts/taskArtifacts.bin).
enum constant INSTANT_RUN_REPLACEMENT does not exist in class com.android.manifmerger.ManifestMerger2$Invoker$Feature
Edit : The issue is already fixed, please upgrade to latest version of Android Studio, you can track the issue here.
I found a simple solution. Just delete ProjectDirectory/.gradle/taskArtifacts.bin
file and restart Android Studio.
Here are the steps for fixing this
Run/Debug configuration
Edit Configuration...
. Update Project
. Just go to your workbench
directory. Navigate to your ProjectFolder
and then delete
the .gradle
folder.
Then rebuild your project!
Open terminal
and run this line code to solve this problem:
rm .gradle/2.10/taskArtifacts/taskArtifacts.bin
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With