Android Studio 3.1.3没有项目的预览? [英] Android Studio 3.1.3 No preview of Items?
问题描述
我昨天安装了Android Studio 3.1.3,并开始使用它.但是列表中没有显示项目预览"按钮,例如TextView和其他组件,但没有可用的预览.
I Installed Android Studio 3.1.3 today yesterday and started using it. But There is no Preview of Items such button TextView and other components it is showing in the list but there is no preview available.
内部版本为:AI-173.4819257.
The Build Version is : AI-173.4819257.
这是ScreenShot.
Here is the ScreenShot.
推荐答案
好吧,这似乎是AppCompat
最新版本中的错误.
Well it seems like bug in AppCompat
latest version.
更改Gradle
中的AppCompat
库版本:
发件人
implementation 'com.android.support:appcompat-v7:28.0.0-alpha3'
收件人
implementation 'com.android.support:appcompat-v7:28.0.0-alpha1'
有效!
修改
这个问题似乎一直存在到2018年8月16日. 所以这就是我在做什么:
Well this problem seems to exists till now on 16 august 2018. So This is what i am doing :
在设计时将Gradle
中的AppCombat
库版本更改为27.1.1
或28.0.0-alpha1
,并在Build
时将版本更改为最新版本.
Change The AppCombat
library version in Gradle
to either 27.1.1
or 28.0.0-alpha1
at design time and at Build
change Version to the latest.
这篇关于Android Studio 3.1.3没有项目的预览?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!