Android Error parsing XML: unbound prefix [fixed]

Saturday, May 21, 2011 10:44 PM | Leave a reply »

I was playing around with my Layout and then I kept getting this error

the fix for this is very simple all you have to do is to make sure that the first element in your layout XML contains this element

xmlns:android=”http://schemas.android.com/apk/res/android

for instance like this

 

   1:  <ScrollView xmlns="http://schemas.android.com/apk/res/android"
   2:           android:layout_width="fill_parent"
   3:           android:layout_height="fill_parent"
   4:           android:padding="10dip">



Comments

No comments posted yet.

Leave a Reply



 

Please add 7 and 2 and type the answer here: