I just installed the newer Android Studio 2.2 and I'm in trouble while building my project:
Error:Execution failed for task ':app:processDebugAndroidTestResources'.
java.io.FileNotFoundException: [path_to_project]/app/build/intermediates/symbols/androidTest/debug/R.txt (No such file or directory)
I'm using gradle version 2.14.1 (because this version of the IDE force me to use it).
If I disable instant run everything works ok, but it is a shame to lose all of a sudden this feature.
Any help?
EDIT:
I tried the following but the error still happen:
0 (May 2022) Android Gradle plugin 7.2. 0 is a major release that includes a variety of new features and improvements.
We Want Your Feedback! Instant Run is currently available only in Android Studio 2.0, and higher. We will continue to improve the feature in subsequent releases. If you run into any additional issues, please help by logging bugs in our public Issues Tracker.
android studio 4.0 - Minimum supported Gradle version is 6.1.
Finally I found the problem, I had one dependency added two times (one in the normal build plus the same in the test environment). I managed this and instant run worked again.
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