Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not find class android.support.v4.app.NotificationCompat$Builder

Today I have a strange error, strange because the app worked some day ago and I don't change anything, I had also updated Android SDK and eclipse.

05-20 08:03:14.217: E/AndroidRuntime(1925): java.lang.NoClassDefFoundError: android.support.v4.app.NotificationCompat$Builder

05-20 08:03:15.918: E/dalvikvm(1716): Could not find class 'android.support.v4.app.NotificationCompat$Builder', referenced from method com.me.app.ObjReminder.setNotification

Why have I this error? How can I solve it?

EDIT: Thanks all, I solve checking 'Android Private Libraries' in 'Order and Export' tab. But I don't understand why the check was disappeared

like image 885
crbin1 Avatar asked May 20 '13 08:05

crbin1


1 Answers

When ever we update our SDK the default support api gets auto updated.

So the previous referenced support library would get obsolate.

You just need to open project properties and update referenced libraries.

like image 89
Rajnish Mishra Avatar answered Oct 19 '22 01:10

Rajnish Mishra