Search code examples
javaandroidxmlandroid-studiobuild-error

Android resource linking failed error i got in android studio while building the App . I don't know how fix this issue . I am new to Android Studio


[1]this is the screenshot of output and error i got .

[1]: image link https://i.sstatic.net/z2kUz.jpg


Solution

  • This error is occurring because you are using color values which you haven't defined. You have to define color values in colors.xml for those colors which you are using for your theme.

    Like for black color <color name="Black">#000000</color>