dimanche 10 mai 2015

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

I downloaded an android project and opened it in eclipse. eclipse can not resolve R in "setContentView(R.layout.ayat)" so I guess I may have problem in "res" folder and yes!! one of my xml files in "res" folder has a big red X with "Error parsing XML: not well-formed (invalid token)" message. I know that It means there is a compilation error in my XML file, something that shouldn't be there: a spelling mistake/a spurious character/an incorrect namespace.error but unfortunately i cant find the bad typed command. this is the XML file:

<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:android="http://ift.tt/nIICcg">
 <string-array android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/stringarray1" name="keys">
<item>lcr241</item>
<item>1tr0q9</item>
<item>z2iufn</item>
<item>slo6je</item>
</string-array> 

Regards

Aucun commentaire:

Enregistrer un commentaire