PaulP PaulP - 27 days ago 17
Android Question

Unparsed aapt error(s)!

I'm working with Android in Eclipse and was trying to combine code from a template project I found into the skeleton project that Android creates when you start a new project. This is not an initial setup; have gotten several projects running and although I'm new to Android coding I have been working for several weeks without this problem so the environment is set up fine I think.

The error I'm seeing is -

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


At one point I cleared the console messages and now even after closing the project and Eclipse, then reopening I get no console messages and none of my source or resource files are flagged.

What is aapt and where should I look for the source of this error? Thanks in advance for your help.

Answer

I sorted this out. So for anyone else still on the learning curve with me, the solultion is as noted in my comment. In addition -

aapt = Android Asset Packaging Tool From the Developers Guide - "The Android Asset Packaging Tool (aapt) takes your application resource files, such as the AndroidManifest.xml file and the XML files for your Activities, and compiles them."

The solution for me was simply to delete the error on the 'Problem' window (right click | delete). Then, force a rebuild by rerunning the app. Any remaining problems will now show up and be logged so you can track them down.

Hope this is helpful to others.