我刚刚让android studio制作了我的第一个应用程序,但当我创建一个测试项目时,GUI没有显示出来,并显示
渲染问题此版本的渲染库比您的Android Studio版本更新。请更新Android Studio (详情)
详细信息如下。
org.jetbrains.android.uipreview.RenderingException: This version of the rendering library is more recent than your version of Android Studio. Please update Android Studio
at
我在弄清楚如何解决这个错误时遇到了问题。
我尝试使缓存失效/重新启动,释放磁盘空间并重新安装Android Studio。
The following classes could not be instantiated:
- android.support.v7.widget.AppCompatTextView(Open Class, Show Exception, Clear Cache)
Tip: Use View.isInEditMode() in your custom views to skip code or show sample data when shown in t
在我更新了gradle和Android Studio以及构建工具之后,当我访问任何xml文件时,我在Android Studio中遇到了这个奇怪的问题:
Rendering Problems The following classes could not be instantiated:
- com.android.internal.widget.ActionBarView
java.lang.NullPointerException
at android.content.res.BridgeResources.getLayout(BridgeResources.java:255)
at
如何在activity_main布局中隐藏标题栏?我使用的是android studio 1.3.1,我在activity标签中使用了android:theme="@android:style/Theme.NoTitleBar.Fullscreen",但当我再次看到activity_main时,我又看到了标题栏或相同的动作栏。我怎么才能隐藏它呢?