Failed to find the style corresponding to the id 2130772027
Failed to find the style corresponding to the id 2130771996
java.lang.NullPointerException
Failed to load AppCompat ActionBar with unknown error.
Exception details are logged in Window > Show View > Error Log
The following classes could not be instantiated:
- android.support.v7.app.WindowDecorActionBar (Open Class, Show Error Log)
See the Error Log (Window > Show View) for more details.
出现很多次这个问题了,我的问题是因为每次显示页面是api23,但是在android-manifest里却是 <uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="21" />
把21改成23就可以了