1. Check out our companion app, Forums for Android! Download from Google Play

error: Error parsing XML: not well-formed (invalid token)

Discussion in 'Application Development' started by Lijap, Jun 24, 2011.

  1. Lijap

    Lijap Member
    Thread Starter
    15

    Jun 16, 2011
    15
    0
    15
    I cant seem to figure out this problem, in two of my xml files(this is one, the other is very similar and has the exact same problem) the line that says android:state_selected="true" /> has the error that is in the title. The true" is doesn't have the blue color to it like it should. Because of this I have no Auto generated file which is messing up the rest of my application. Does anyone know how to solve this? Be warned I am new to android development.





    <?xml version="1.0" encoding="utf-8"?>
    <selector xmlns:android="http://schemas.android.com/apk/res/android">
    <!-- When selected, use this -->
    <item android:drawable="@drawable/tab_two_icon&quot;
    android:state_selected="true" />
    <!-- When not selected, use that-->
    <item android:drawable="@drawable/tab_two_iconfaded" />
    </selector>
     

    Advertisement

  2. alostpacket

    alostpacket Over Macho Grande?
    513

    Nov 29, 2009
    7,978
    3,606
    513
    Android App Developer
    NY
    could it be the &quot ?

    I usually get that error when i have an ampersand somewhere -> &
     

Share This Page

Loading...