Windows 在 Eclipse 中新建项目后的一些问题

Some problems after new project in Eclipse on Windows

在 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" 库 space,然后将其添加到项目中使用以下步骤。

  • 右键单击项目单击 属性。
  • select android 从右侧开始。
  • 然后单击添加和 select android-support-v7-appcompat 并单击应用并确定。

就是这样