Android开发提示Failed to find the style corresponding to the id ...
2015-05-17 13:36
627 查看
使用eclipse进行Android开发时,打开时activity_main.xml即提示:
Failed to find the style corresponding to the id 2130772026
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.
google了一下,老外是这样解决的,把api版本降低一下就好了,原因有可能是一些api在高版本中已经不支持
参考链接:
http://stackoverflow.com/questions/29824136/activity-main-xml-failed-to-find-the-style-corresponding-to-the-id-2130771996
我下载Android SDK之后运行Android SDK Manageer.exe更新了一整天,然后在Eclipse中装上ADT,差不多弄完之后开始写第一个Android程序:HelloWrold,一步一步创建了这个工程之后,按照教材上所说的,点开activity_main.xml这个文件在应该出现一个可以直接往里面拖控件的界面啊,可是我的界面里面就是什么都没有,然后就出现以下信息:
Failed to find the style corresponding to the id 2130772026
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编程,不知道怎么回事啊???跪求大神指点迷津,跪了
Failed to find the style corresponding to the id 2130772026
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.
google了一下,老外是这样解决的,把api版本降低一下就好了,原因有可能是一些api在高版本中已经不支持
参考链接:
http://stackoverflow.com/questions/29824136/activity-main-xml-failed-to-find-the-style-corresponding-to-the-id-2130771996
我下载Android SDK之后运行Android SDK Manageer.exe更新了一整天,然后在Eclipse中装上ADT,差不多弄完之后开始写第一个Android程序:HelloWrold,一步一步创建了这个工程之后,按照教材上所说的,点开activity_main.xml这个文件在应该出现一个可以直接往里面拖控件的界面啊,可是我的界面里面就是什么都没有,然后就出现以下信息:
Failed to find the style corresponding to the id 2130772026
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编程,不知道怎么回事啊???跪求大神指点迷津,跪了
相关文章推荐
- Failed to find the style corresponding to the id 2147418306 (6 similar errors not shown)
- Failed to find the style corresponding to the id 2130772027
- Failed to find the style corresponding to the id的问题应该怎么办啊!
- [Android][Rendering Problems] Failed to find style 'editTextStyle' in current theme 解决方法
- Eclipse下开发android,The connection to adb is down, and a severe error has occured.提示需要重启adb怎么处理?
- 移植Qt5.7在开发板上运行Qt程序提示This application failed to start because it could not find or load the Qt platfo
- Android 开发过程中遇到了一个问题 小记录一下 ERROR: In <declare-styleable> BorderLinearLayout, unable to find attribu
- Unable to find a team with the given Team ID或者Failed to code sign的问题解决
- 开发工具: ERROR: In <declare-styleable> MenuView, unable to find attribute android:preserveIconSpacing
- Android开发中的代码关联问题:Failed to create the part'sControls(Unmatched braces in the pattern.)
- Failed to apply plugin [id 'com.android.application'] 和 Could not find com.android.tools.build:gradle:2.XX的最正确的解决方法
- IDEA开发Spark提示failed to locate the winutils binary in the hadoop binary
- Failed to find style '****Style' in current theme
- Failed to apply plugin [id 'com.android.application'] 和 Could not find com.android.tools.build:gradl
- Failed to apply plugin [id 'com.android.application'] 和 Could not find com.android.tools.build:gradl
- Android开发之旅(JAVA)——Failed to create the Java Virtual Machine
- failed to find target android-7 Please install the missing platform
- Failed to find style 'vpiCirclePageIndicatorStyle' in current theme
- Android开发环境[adt-bundle-windows-x86-20140702][Failed to create the Java Virtual Machine]