android debug note,android调试笔记
- 问题关键词:Could not find class android.support.v4.app.NotificationCompat$Builder
编译androidTest项目时没有问题,但是NotificationDemo这个Activity启动,就报上面的错。
说明不是语法问题,主要是项目的配置有问题,而且刚刚更新了SDK。
解决:google问题关键词,在stackover flow中,找到了答案
http://stackoverflow.com/questions/16645574/could-not-find-class-android-support-v4-app-notificationcompatbuilder
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.
checking ‘Android Private Libraries’ in ‘Order and Export’ tab. But I don’t understand why the check was disappeared