• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

CRAZY ANDROID ERROR

Hello first i was having an error that say that xml documents stuctures must start and end in the same entity tis was my file

<component name="libraryTable">
<library name="Gradle: net.sf.kxml:kxml2:2.3.0@jar">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/net.sf.kxml/kxml2/2.3.0/ccbc77a5fd

Now after googling it i changed this to :

<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#008577</color>
<color name="colorPrimaryDark">#00574B</color>
<color name="colorAccent">#D81B60</color>
</resources>

and now i am getting android resources linking failed in all my projects also those that i know they work good please help
 
Try to use this syntax (no "color" words in your field):

<color name="colorActivated">#caeeff</color>
<color name="primary">#C41230</color>
<color name="primaryDark">#9E0C24</color>
<color name="textPrimary">#000</color>
<color name="accent">#FFCCD4</color>
<color name="colorHighlight">#ffaaff</color>

Here you can found the controls for the material design
https://www.google.com/amp/s/devblo...understanding-the-android-material-theme/amp/
 
Last edited:
Back
Top Bottom