Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Link of class 'Landroid/support/v4/app/Watson; failed - Unable to resolve superclass of Lcom/actionbarsherlock/app/SherlockActivity

I have an android project that I was working on a few weeks ago it was working fine in my last attempt, but now the project all compiles fine, but while launching application, I am getting the following warning and it crashes my application.

Unable to resolve superclass of Landroid/support/v4/app/Watson;
Link of class 'Landroid/support/v4/app/Watson;' failed

Unable to resolve superclass of 
Lcom/actionbarsherlock/app/SherlockFragmentActivity;

Please tell me how can i fix this. Thanks

like image 583
bCliks Avatar asked May 21 '13 06:05

bCliks


1 Answers

I noticed that I had this problem after updating ADT Plugin Revision 22. This problem raised due to new Android Package named as Android Private Libraries is not included on my old projects.

I fix this issue by following the below steps:

1.Right Click on project

2.Build Path-> Configure Build Path -> Order and Export

3.Check the Android Private Libraries and click OK

4.Clean the project

5.Rebuild the project

like image 134
bCliks Avatar answered Sep 19 '22 13:09

bCliks