在 Windows 8 上的 Eclipse 中创建新项目后,我遇到了这个问题,我必须重新启动 Eclipse 才能修复它。
Failed to find the style corresponding to the id 2130772027 Failed to find the style corresponding to the id 2130771996 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.`
请帮我解决这个问题,这太烦人了。
最佳答案
在您的工作空间中导入“android-support-v7-appcompat”库,然后按照以下步骤将其添加到项目中使用。
- 右键单击项目单击属性。
- 从右侧选择 android。
- 然后单击添加并选择 android-support-v7-appcompat,然后单击应用并确定。
就是这样
关于android - Windows上Eclipse新建项目后的一些问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31500010/