Android Studio 3.1.3没有项目的预览? [英] Android Studio 3.1.3 No preview of Items?

查看:80
本文介绍了Android Studio 3.1.3没有项目的预览?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我昨天安装了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.128.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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆