Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio and 9-patch error

I made a 9 patch image using Android Studio function "create 9-patch file".

Now android studio tells me that there is a "duplicate" resorces error, since I have image.png and image.9.png.

If deleted image.png (after even cleaning and rebulding the project) I get this error:

Error:java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException:

Error:Execution failed for task ':app:mergeDebugResources'.
> Error: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: 

Do you know how to solve this problem?

like image 751
MDP Avatar asked Nov 08 '22 04:11

MDP


1 Answers

Remove both, then clean, then paste the desired one

like image 195
RadekJ Avatar answered Nov 15 '22 06:11

RadekJ