Unparsed aapt errors check the console for output

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

Unparsed aapt errors check the console for output

Postby dhanjel » Fri Apr 02, 2010 9:27 am

Not entirely sure this is the corrent place to put this question, feel free to move it.

I've tried to develop a couple of small android applications and sometimes (quite often)
I accidentally select Run in the eclipse menu when in a resource file.

This leads to that a file is created with name main.out.xml (if I'm currently working in
main.xml). If I try to build the project and launch it fron a .java file after this I get an
error:

Unparsed aapt error(s)! Check the console for output. <ProjectName> Unknown Android Packaging Problem

The "Console" tab in eclipse does not contain any errors at all. Is there a specific android console that I can't find?

How can I solve this issue? It does not help to delete the out-file or regenerate R.java.

(Forgive me if this is a totally n00b-question, but I can´t find any could information about it on the internet and I am a .Net developer and has not worked with java nor eclipse in 5 years or so.)
dhanjel
Freshman
Freshman
 
Posts: 4
Joined: Fri Apr 02, 2010 9:20 am

Top

This fixed it for me

Postby 1@mzilla » Sat Apr 03, 2010 6:48 pm

Seemed to happen when I tried to create an .xml file. I have deleted that file and the problem persists.


The link below helped me fix the error.

http://osdir.com/ml/Android-Developers/ ... 03060.html
1@mzilla
Once Poster
Once Poster
 
Posts: 1
Joined: Sat Apr 03, 2010 6:45 pm

Postby dhanjel » Sun Apr 11, 2010 6:05 pm

Tried that without any luck, any more suggestions?
dhanjel
Freshman
Freshman
 
Posts: 4
Joined: Fri Apr 02, 2010 9:20 am

Postby dominik » Thu Apr 15, 2010 12:24 pm

Sometimes I had this error too. After all bugs are fixed the Error remains there. I just deleted this error and tried to run it again. Does this work for you?
dominik
Freshman
Freshman
 
Posts: 7
Joined: Wed Apr 14, 2010 6:40 am

Postby dhanjel » Thu Apr 15, 2010 1:09 pm

Found the soloution for this, Go to Project -> Clean in the Eclipse menu and it will work again.
(Delete any *.xml.out files that has been generated before)
dhanjel
Freshman
Freshman
 
Posts: 4
Joined: Fri Apr 02, 2010 9:20 am

Re: Unparsed aapt errors check the console for output

Postby jackmatt2 » Sat Jun 05, 2010 8:01 am

Ahhh, after about 3 hours of mucking about with this you just saved me.
droidprofessor.com
setschoolsfree.com
jackmatt2
Once Poster
Once Poster
 
Posts: 1
Joined: Mon Nov 02, 2009 2:44 pm
Location: Bangkok

Top

Re: Unparsed aapt errors check the console for output

Postby kingofadamjee » Fri Jun 25, 2010 7:16 am

Thanks dhanjel
kingofadamjee
Once Poster
Once Poster
 
Posts: 1
Joined: Thu Jun 24, 2010 11:32 am

Re: Unparsed aapt errors check the console for output

Postby zbanana » Fri Aug 27, 2010 3:49 am

thanks dude =)
zbanana
Once Poster
Once Poster
 
Posts: 1
Joined: Fri Aug 27, 2010 3:31 am

Re: Project > Clean...

Postby wietze » Sun Sep 12, 2010 2:19 am

This worked for me. Easy-peasy.

dhanjel wrote:Found the soloution for this, Go to Project -> Clean in the Eclipse menu and it will work again.
(Delete any *.xml.out files that has been generated before)
wietze
Once Poster
Once Poster
 
Posts: 1
Joined: Sun Sep 12, 2010 2:13 am

Re:

Postby Eeeewan » Thu Jan 20, 2011 8:49 pm

dhanjel wrote:Found the soloution for this, Go to Project -> Clean in the Eclipse menu and it will work again.
(Delete any *.xml.out files that has been generated before)


I've only just started trying to get to grips with development with Android today, no real java experience which seems to be the one that would be most useful, although I've not come across any issues yet - it's all been going well.

Anyway, just thought I would register to say Thankyou for that bit of information, I could have been looking for problems for hours otherwise :D
Eeeewan
Once Poster
Once Poster
 
Posts: 1
Joined: Thu Jan 20, 2011 8:42 pm

Re: Unparsed aapt errors check the console for output

Postby Moebius » Thu Feb 03, 2011 10:02 am

ty dhanjel
you just saved my nerves.
Moebius
Freshman
Freshman
 
Posts: 3
Joined: Wed Feb 02, 2011 11:14 am

Re: Unparsed aapt errors check the console for output

Postby maverickARM » Sat Feb 26, 2011 4:32 pm

NICE dhanjel !!!!
User avatar
maverickARM
Freshman
Freshman
 
Posts: 3
Joined: Mon Feb 21, 2011 11:09 am

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: Exabot [Bot] and 4 guests