Search code examples
androidxmleclipseandroid-layoutnew-project

Eclipse fails to load AppTheme for the XML layout after the new project is created,Displays failed to find style corresponding


I face this problem whenever the new projects is created in Eclipse

Failed to find the style corresponding to the id 2130772021 
Failed to find the style corresponding to the id 2130771993     
java.lang.NullPointerException 
Exception details are logged in Window > Show View > Error Log 
The following classes could not be instantiated:
 - android.support.v7.internal.app.WindowDecorActionBar (Open Class, Show Error Log) 
See the Error Log (Window > Show View) for more details.


Solution

  • I have solved the above problem by just changing the theme like you just need to change your theme to any of the themes other than default theme.