Eclipse Project is Flagged with an “Android Packaging Problem” Error
Sometimes while developing in Eclipse you will notice that the Android Project will be flagged with the red “x” but none of your source files or resources will have errors. If you look in the “Problems” tab you will notice that the project is flagged with an “Android Package Problem” type and the “Location” will be Unknown.
To fix this, just do:
Project->Clean
This will rebuild the project from scratch.
2 Comments to Eclipse Project is Flagged with an “Android Packaging Problem” Error
Leave a comment
Search
Archive
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Nov | ||||||
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | ||||
Recent Comments
- Dimanche on Install Subversion and Subclipse for Eclipse on Ubuntu
- Mir on How to connect your Android phone to Ubuntu to do development, testing, installations or tethering
- Mir on How to connect your Android phone to Ubuntu to do development, testing, installations or tethering
- Leonardo on How to Resume Partial File Transfers
- mobydobius on How to Resume Partial File Transfers
Categories
Blogroll
Online Tools
Other
BLOG ARCHIVE
- November 2011 (1)
- August 2011 (1)
- April 2011 (1)
- January 2011 (2)
- September 2010 (1)
- August 2010 (2)
- July 2010 (2)
- June 2010 (2)
- May 2010 (1)
- January 2010 (2)
- December 2009 (2)
- November 2009 (3)
- October 2009 (1)
- September 2009 (3)
- July 2009 (1)
- May 2009 (1)
- March 2009 (1)
- February 2009 (2)
- January 2009 (2)
- December 2008 (1)
- November 2008 (4)
- October 2008 (5)
I have the same issue, actually 3 projects were working correctly until I downloaded some updtes (i believe the android 3.0) and then the projects were markd with the red x but there resources have no errors just a warning. I tried cleaning the project but the error does not go away. Any other suggestion or feedback that you can provide?
Thanks,
K
@Karim,
Make sure that Eclipse did not automatically insert “import android.R” on top of your files. If it did, delete it. That should resolve your issue.
Here is some more info on this:
http://source.android.com/source/using-eclipse.html