colors.xml - Error: XML document structures must start and end in the same entity
up vote
-1
down vote
favorite
How can I solve this error?
C:UserssparkAndroidStudioProjectMyApplicationappsrcmainresvaluescolors.xml:4:101: Error: XML document structures must start and end in the same entity
<component name="libraryTable">
<library name="Gradle: com.android.support:customview-28.0.0">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/customview-28.0.0.aar
android
add a comment |
up vote
-1
down vote
favorite
How can I solve this error?
C:UserssparkAndroidStudioProjectMyApplicationappsrcmainresvaluescolors.xml:4:101: Error: XML document structures must start and end in the same entity
<component name="libraryTable">
<library name="Gradle: com.android.support:customview-28.0.0">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/customview-28.0.0.aar
android
Add and put words not images...
– Xenolion
Nov 9 at 20:11
the problem is: C:UserssparkAndroidStudioProjectMyApplicationappsrcmainresvaluescolors.xml:4:101: Error: XML document structures must start and end in the same entity
– spark-19
Nov 9 at 20:20
Went ahead and edited this VLQ question since triage disposed as 'needs editing'..... stackoverflow.com/review/helper/21371700
– K.Dᴀᴠɪs
Nov 9 at 20:23
Copy and paste the description in your question, I can not type things from your image, copy and paste the data in your image so that I can edit it and you can just copy and paste it back, Please edit your question.
– Xenolion
Nov 9 at 20:26
add a comment |
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
How can I solve this error?
C:UserssparkAndroidStudioProjectMyApplicationappsrcmainresvaluescolors.xml:4:101: Error: XML document structures must start and end in the same entity
<component name="libraryTable">
<library name="Gradle: com.android.support:customview-28.0.0">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/customview-28.0.0.aar
android
How can I solve this error?
C:UserssparkAndroidStudioProjectMyApplicationappsrcmainresvaluescolors.xml:4:101: Error: XML document structures must start and end in the same entity
<component name="libraryTable">
<library name="Gradle: com.android.support:customview-28.0.0">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/transforms-1/files-1.1/customview-28.0.0.aar
android
android
edited Nov 9 at 21:09
cricket_007
76.7k1042106
76.7k1042106
asked Nov 9 at 20:07
spark-19
11
11
Add and put words not images...
– Xenolion
Nov 9 at 20:11
the problem is: C:UserssparkAndroidStudioProjectMyApplicationappsrcmainresvaluescolors.xml:4:101: Error: XML document structures must start and end in the same entity
– spark-19
Nov 9 at 20:20
Went ahead and edited this VLQ question since triage disposed as 'needs editing'..... stackoverflow.com/review/helper/21371700
– K.Dᴀᴠɪs
Nov 9 at 20:23
Copy and paste the description in your question, I can not type things from your image, copy and paste the data in your image so that I can edit it and you can just copy and paste it back, Please edit your question.
– Xenolion
Nov 9 at 20:26
add a comment |
Add and put words not images...
– Xenolion
Nov 9 at 20:11
the problem is: C:UserssparkAndroidStudioProjectMyApplicationappsrcmainresvaluescolors.xml:4:101: Error: XML document structures must start and end in the same entity
– spark-19
Nov 9 at 20:20
Went ahead and edited this VLQ question since triage disposed as 'needs editing'..... stackoverflow.com/review/helper/21371700
– K.Dᴀᴠɪs
Nov 9 at 20:23
Copy and paste the description in your question, I can not type things from your image, copy and paste the data in your image so that I can edit it and you can just copy and paste it back, Please edit your question.
– Xenolion
Nov 9 at 20:26
Add and put words not images...
– Xenolion
Nov 9 at 20:11
Add and put words not images...
– Xenolion
Nov 9 at 20:11
the problem is: C:UserssparkAndroidStudioProjectMyApplicationappsrcmainresvaluescolors.xml:4:101: Error: XML document structures must start and end in the same entity
– spark-19
Nov 9 at 20:20
the problem is: C:UserssparkAndroidStudioProjectMyApplicationappsrcmainresvaluescolors.xml:4:101: Error: XML document structures must start and end in the same entity
– spark-19
Nov 9 at 20:20
Went ahead and edited this VLQ question since triage disposed as 'needs editing'..... stackoverflow.com/review/helper/21371700
– K.Dᴀᴠɪs
Nov 9 at 20:23
Went ahead and edited this VLQ question since triage disposed as 'needs editing'..... stackoverflow.com/review/helper/21371700
– K.Dᴀᴠɪs
Nov 9 at 20:23
Copy and paste the description in your question, I can not type things from your image, copy and paste the data in your image so that I can edit it and you can just copy and paste it back, Please edit your question.
– Xenolion
Nov 9 at 20:26
Copy and paste the description in your question, I can not type things from your image, copy and paste the data in your image so that I can edit it and you can just copy and paste it back, Please edit your question.
– Xenolion
Nov 9 at 20:26
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
So, the error that you put in the comments is for the colors.xml
file. And that file shouldn't contain <component>
tags, or refer to Gradle stuff.
For example, should look like so
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="white">#FFFFFF</color>
</resources>
I don't think Android Studio is the problem here, but if you think it is, I suggest you use a different version of Android Studio.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
So, the error that you put in the comments is for the colors.xml
file. And that file shouldn't contain <component>
tags, or refer to Gradle stuff.
For example, should look like so
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="white">#FFFFFF</color>
</resources>
I don't think Android Studio is the problem here, but if you think it is, I suggest you use a different version of Android Studio.
add a comment |
up vote
0
down vote
So, the error that you put in the comments is for the colors.xml
file. And that file shouldn't contain <component>
tags, or refer to Gradle stuff.
For example, should look like so
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="white">#FFFFFF</color>
</resources>
I don't think Android Studio is the problem here, but if you think it is, I suggest you use a different version of Android Studio.
add a comment |
up vote
0
down vote
up vote
0
down vote
So, the error that you put in the comments is for the colors.xml
file. And that file shouldn't contain <component>
tags, or refer to Gradle stuff.
For example, should look like so
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="white">#FFFFFF</color>
</resources>
I don't think Android Studio is the problem here, but if you think it is, I suggest you use a different version of Android Studio.
So, the error that you put in the comments is for the colors.xml
file. And that file shouldn't contain <component>
tags, or refer to Gradle stuff.
For example, should look like so
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="white">#FFFFFF</color>
</resources>
I don't think Android Studio is the problem here, but if you think it is, I suggest you use a different version of Android Studio.
edited Nov 9 at 21:17
answered Nov 9 at 21:11
cricket_007
76.7k1042106
76.7k1042106
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53232641%2fcolors-xml-error-xml-document-structures-must-start-and-end-in-the-same-entit%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Add and put words not images...
– Xenolion
Nov 9 at 20:11
the problem is: C:UserssparkAndroidStudioProjectMyApplicationappsrcmainresvaluescolors.xml:4:101: Error: XML document structures must start and end in the same entity
– spark-19
Nov 9 at 20:20
Went ahead and edited this VLQ question since triage disposed as 'needs editing'..... stackoverflow.com/review/helper/21371700
– K.Dᴀᴠɪs
Nov 9 at 20:23
Copy and paste the description in your question, I can not type things from your image, copy and paste the data in your image so that I can edit it and you can just copy and paste it back, Please edit your question.
– Xenolion
Nov 9 at 20:26