Shailesh Bandil Shailesh Bandil - 3 days ago 5
Android Question

Error:Execution failed for task ':app:mergeDebugResources'. > Error: java.io.FileNotFoundException:


Error: java.io.FileNotFoundException: \app\build\intermediates\res\merged\debug\drawable-mdpi-v4\abc_ic_star_black_48dp.png (The requested operation cannot be performed on a file with a user-mapped section open)


trying to build project but file name changes all the time, error remain same

Error message

Answer
  1. Just open this(app\build\intermediates\res\merged\debug\drawable-mdpi-v4\abc_ic_star_black_48dp.png) file directory and delete it.

  2. Clean and Re-build your project.

Hope this will help you.

Comments