Eclipse的Graphical Layout页面下没有界面视图,报错Failed to find the style corresponding to the id 2130772027

来源:互联网 发布:深入浅出数据分析视频 编辑:程序博客网 时间:2024/05/02 20:04

http://bbs.csdn.net/topics/391036046?page=1

问题:

我下载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编程,不知道怎么回事啊???跪求大神指点迷津,跪了


原因:

SDK版本过高,将API级别调低,并重启Eclipse


0 0
原创粉丝点击