URGENT: Unparsed aapt error(s)! Check the console for output

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

URGENT: Unparsed aapt error(s)! Check the console for output

Postby irsyad » Thu Jun 10, 2010 7:34 am

Hi all

I've been having this error for a long time and I do not have a clue what I should do to solve this. I believe it's got to do with my main.xml file.

Here's how it looks like:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    >
<TextView 
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:text="@string/hello"
    />
</LinearLayout>

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
   android:layout_width="fill_parent"
   android:layout_height="wrap_content"
   android:background="@drawable/ferry">
   </RelativeLayout>


Please get back to me ASAP. I'm new to eclipse and currently doing Major Project for school.

Thank you
Dayne
irsyad
Freshman
Freshman
 
Posts: 2
Joined: Thu Jun 10, 2010 7:21 am

Top

Re: URGENT: Unparsed aapt error(s)! Check the console for ou

Postby DoddyUK » Sat Jun 12, 2010 2:10 pm

First result on Google

From what it looks like, it appears to be Eclipse getting confused more than anything. Your layout does appear to be valid, though you might want to try putting the RelativeLayout inside the LinearLayout. Try right-clicking and deleting the error in the Problems view, and edit something to force a rebuild.
DoddyUK
Junior Developer
Junior Developer
 
Posts: 12
Joined: Fri Jan 29, 2010 11:08 am
Location: Plymouth, UK

Re: URGENT: Unparsed aapt error(s)! Check the console for ou

Postby fahmilu » Tue Oct 19, 2010 12:22 pm

may you can clear your project..click project->clean is solve for me..
fahmilu
Once Poster
Once Poster
 
Posts: 1
Joined: Fri Aug 13, 2010 5:34 am

Top

Return to General

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests