Android开发提示Failed to find the style corresponding to the id ...
来源:互联网 发布:淘宝成都客户信息购买 编辑:程序博客网 时间:2024/05/18 13:28
使用eclipse进行Android开发时,打开时activity_main.xml即提示:
Failed to find the style corresponding to the id 2130772026Failed 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编程,不知道怎么回事啊???跪求大神指点迷津,跪了
0 0
- Android开发提示Failed to find the style corresponding to the id ...
- Failed to find the style corresponding to the id 2130772027
- Failed to find the style corresponding to the id 2147418306 (6 similar errors not shown)
- Failed to find the style corresponding to the id的问题应该怎么办啊!
- Eclipse的Graphical Layout页面下没有界面视图,报错Failed to find the style corresponding to the id 2130772027
- The request to open "bundle id" failed.
- failed to find style 'textviewstyle'
- how to find the corresponding libraries are linked to when some APIs are used(2.0)
- how to find the corresponding libraries are linked to when some APIs are used(3.0)
- IDEA开发Spark提示failed to locate the winutils binary in the hadoop binary
- 移植Qt5.7在开发板上运行Qt程序提示This application failed to start because it could not find or load the Qt platfo
- Android Studio:Failed to load the LayoutLib
- Android Studio:Failed to load the LayoutLib
- 错误:The request to open "your bundle id" failed
- Failed to find the library libmwmclmcrrt.so.7.16,问题总结
- failed to find target android-7 Please install the missing platform
- Failed to find style '****Style' in current theme
- Flash Builder提示Failed to create the Java Virtual Machine
- c++_操作符重载
- 第11周 项目一-储存班长信息的学生类
- VC控件坐标与屏幕坐标
- 百度全面开放HTTPS之我见
- xampp apache无法启动解决方法
- Android开发提示Failed to find the style corresponding to the id ...
- 退出对话框3种方法
- CPaintDC和CClientDC的区别
- FZU 1894 — 志愿者选拔 单调队列
- 几道C笔试题
- Java位运算符
- PeekMessage
- 一个程序员眼中的北京和上海
- MFC的消息处理函数