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?
Has same problem, added to Graddle configuration:
android{
...
defaultConfig{
...
renderscriptTargetApi 21
}
}
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