标签:
刚安装好ADT-23.0.6,然后配置sdk路径(最新的版本android-22),然后创建一个新的Android Project;
对于布局界面会出现如下错误,导致无法显示布局界面:
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)
- android.support.v7.internal.widget.ActionBarContextView (Open Class, Show Error Log)
- android.support.v7.widget.Toolbar (Open Class, Show Error Log)
解决办法:直接重启eclipse, 就正常了; (看国外的网站上说,这可能是adt的一个bug)
eclipse-jee-luna安装ADT-23.0.6出现的问题,以及解决办法
标签:
原文地址:http://www.cnblogs.com/LittleRedPoint/p/4481237.html