在创建新项目后,Eclipse无法为XML布局加载AppTheme,显示无法找到相应的样式

Sri*_*apu 1 xml eclipse android new-project android-layout

每当在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.
Run Code Online (Sandbox Code Playgroud)

小智 6

我已经通过更改主题解决了上述问题,就像您只需要将主题更改为默认主题以外的任何主题.