Android Studio主题编辑器未显示预览? [英] Android Studio Theme editor not showing previews?
问题描述
我正在做android开发.我无法解决这个问题.
I am doing android development. I could not solve this problem.
我尝试制作一个新项目,看看那里发生了什么,但是它仍然没有显示任何预览.
I've tried making a new project and see what is happening there, but it's still not showing any preview.
我觉得我想念一些愚蠢的东西.
I feel like I'm missing something silly.
推荐答案
我在这篇文章中已经回答了这个问题:
I have answered this problem in this post:
这是某种错误.我有同样的问题.经过大量搜索,终于发现 appcompat-v7:28.0.0-alpha3
在Android Studio的设计视图"部分中存在一些错误.
It is some kind of bug. I had the same problem. I searched so much and I finally found that appcompat-v7:28.0.0-alpha3
has some bug with "Design View" part of Android Studio.
所以我建议将 com.android.support:appcompat-v7:28.0.0-alpha3
更改为 com.android.support:appcompat-v7:28.0.0-alpha1
版本中的 build.gradle(Module:app)
,然后一切正常.
So I suggest to change com.android.support:appcompat-v7:28.0.0-alpha3
to com.android.support:appcompat-v7:28.0.0-alpha1
version in the build.gradle (Module:app)
and then everything is OK.
当然您应该可以访问Internet以下载 com.android.support:appcompat-v7:28.0.0-alpha1
Of course you should have internet access to download com.android.support:appcompat-v7:28.0.0-alpha1
这篇关于Android Studio主题编辑器未显示预览?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!