gradle - Android duplicate resources error -


my project compiling fine until deleted png drawables , replaced them vector drawables navigating new > vector asset. getting duplicate resources error.

here res folder:

enter image description here

here error message in gradle console:

execution failed task ':app:mergedebugresources'. > [drawable/ic_menu_manage] /users/tomfinet/androidstudioprojects/birthpay/app/src/main/res/drawable/ic_menu_manage.xml [drawable/ic_menu_manage] /users/tomfinet/androidstudioprojects/birthpay/app/src/main/res/values/drawables.xml: error: duplicate resources   [drawable/ic_menu_share] /users/tomfinet/androidstudioprojects/birthpay/app/src/main/res/drawable/ic_menu_share.xml   [drawable/ic_menu_share] /users/tomfinet/androidstudioprojects/birthpay/app/src/main/res/values/drawables.xml: error: duplicate resources   [drawable/ic_menu_slideshow] /users/tomfinet/androidstudioprojects/birthpay/app/src/main/res/drawable/ic_menu_slideshow.xml   [drawable/ic_menu_slideshow] /users/tomfinet/androidstudioprojects/birthpay/app/src/main/res/values/drawables.xml: error: duplicate resources   [drawable/ic_menu_send] /users/tomfinet/androidstudioprojects/birthpay/app/src/main/res/drawable/ic_menu_send.xml [drawable/ic_menu_send] /users/tomfinet/androidstudioprojects/birthpay/app/src/main/res/values/drawables.xml: error: duplicate resources   [drawable/ic_menu_gallery] /users/tomfinet/androidstudioprojects/birthpay/app/src/main/res/drawable/ic_menu_gallery.xml   [drawable/ic_menu_gallery] /users/tomfinet/androidstudioprojects/birthpay/app/src/main/res/values/drawables.xml: error: duplicate resources   [drawable/ic_menu_camera] /users/tomfinet/androidstudioprojects/birthpay/app/src/main/res/drawable/ic_menu_camera.xml [drawable/ic_menu_camera] /users/tomfinet/androidstudioprojects/birthpay/app/src/main/res/values/drawables.xml: error: duplicate resources 

how fix , why happening?

the error suggests drawable.xml file responsible error. opened , commented out xml code , app ran fine. have no idea why fixes solved problem.


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -