This issue started after I updated Android Studio from 2.1.2 to 2.3.3, with an existing RenderScript project. The error message I get is:
Error:Execution failed for task ':app:mergeDebugResources'.
Error: java.io.FileNotFoundException: C:\< project location > \app\build\generated\res\rs\debug\raw\bc64 (Access is denied)
The project is from Android Studio 2.1.2 and later opened by 2.3.3. There is no prompt of an incorrect version number, so it should work fine. But now I cannot Run/Debug app to a mobile device.
When I tried creating a new blank screen project with RenderScript enabled, it was able to run/debug.
How to solve?