Welcome to the Treehouse Community
Looking to learn something new?
Lauren Boyes2,516 Points
Crystal Ball: Eclipse Error Message
Hope someone else has come across this because I've run out of ways to get this working.
Any time I make any changes to the AndriodManifest.xml file (such as changing the screen orientation) Eclipse begins to show an error message relating to
<activity ... >
When hovering over <activity I get the error message;
"Class referenced in the manifest, com.example.thecrystalball.MainActivity, was not found in the project or the libraries"
I do not understand how making a minor change could result in the activity class not being recognised.
Any suggestions would be very much appreciated.
Couple of things for you to try:
Go to your manifest and press
Ctrl + Shift + FThis should reformat your code (Anytime my manifest misbehaves this seems to do the trick)
Project -> Cleanand clean your project
If those steps have worked, make sure you update your environment by opening up SDK manager and installing any updates, and then go to `Help -> Check for Updates' to make sure that you are totally up to date.