1

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

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245
Shailesh Bandil
  • 497
  • 7
  • 20

3 Answers3

0
  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.

Vishal Chauhan
  • 932
  • 1
  • 6
  • 11
0

The Android Gradle plugin version 2.2.2 has an issue.

To resolve this issue you need to change your gradle plugin version in project setting:

classpath 'com.android.tools.build:gradle:2.1.3'
0

Just delete build folder in app then clean & rebuild project that works fine.

Shailesh Bandil
  • 497
  • 7
  • 20