android - Windows上Eclipse新建项目后的一些问题

标签 android eclipse new-project

在 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/

相关文章:

android - 如何为从 ViewPager 中删除的 View 设置动画?

java - 用户定义库

eclipse - 使用 CounterClockwise 和 Eclipse 在 Clojure REPL 中进行评估

spring - spring starter 项目中的服务 url 是什么?默认服务 url https ://start. spring.io 的替代方案

Android Studio 不创建新项目

android - 从 json 模板在 Android 中创建动态 UI

android - 在 Android 应用中转换广告 -

android - 引用 google-play-services 库

flutter - 如何用新项目复制我自己创建的 flutter 项目

android - 如何获取android后台运行进程的详细信息