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


enter image description here










share|improve this question























  • 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














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


enter image description here










share|improve this question























  • 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












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


enter image description here










share|improve this question















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


enter image description here







android






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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 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












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.






share|improve this answer






















    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    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

























    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.






    share|improve this answer


























      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.






      share|improve this answer
























        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.






        share|improve this answer














        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.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Nov 9 at 21:17

























        answered Nov 9 at 21:11









        cricket_007

        76.7k1042106




        76.7k1042106



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            How to how show current date and time by default on contact form 7 in WordPress without taking input from user in datetimepicker

            Syphilis

            Darth Vader #20