I\'ve just refactored an app into a framework library and an application, but now when I try and start the app in the emulator I get the following error stack trace:
i've tested the code that you've given , and it works fine. try changing the "extends SimonSaysActivity " to simply "extends Activity " and see for yourself that it works .
the reason that it doesn't work is either SimonSaysActivity doesn't extend Activity (which i don't think you've made this mistake) , or the order of the build path is wrong .
to go to the order of the build path , go to :
project->properties->Java build path->order and export .
my basic order is : project src , project gen , android 4.0.3 , android dependencies .
this problem usually occurs when you use libraries .