Skip to content Skip to sidebar Skip to footer

Error: Attribute 'srccompat' Has Already Been Defined

Every time I try to build or generate signed APK I get the above error. This question is similar but no working solution has been suggested, yet. A snap of my BUILD.GRADLE dependen

Solution 1:

finally got a way round it. Renewed the project and started importing one lib at a time to the point I got the error. Apparently this third party lib 'com.github.ozodrukh:RippleDrawable:2.0.0' defined srcCompat just like AppCompat does. So I commented it out and it Builds just fine...


Post a Comment for "Error: Attribute 'srccompat' Has Already Been Defined"