Android Studio布局设计视图未加载 [英] Android studio layout Design view not loading
问题描述
我正在使用Android Studio 3.2.1版本.正在加载.xml layout.attached屏幕截图.
I'm using Android Studio 3.2.1 version. The loading .xml layout.attached screenshot.
Android Studio .xml屏幕截图:
Android Studio .xml screenshot:
Android Studio等待屏幕截图:
Android Studio waiting screenshot:
推荐答案
几个月前,我遇到了同样的问题,尽管在更新Android Studio之后,我没有遇到任何类似的问题.因此,这是我用来解决此问题的最佳方法.
I faced the same problem few months back though after updating my Android Studio I didn't get any problem like this. So the best way I Used to solve this problem.
转到根目录,依次转到"res">"values">"styles.xml" ,然后在前面添加"Base".在paretn内>"Theme.AppCompat.Light.DarkActionBar"
Go to the root directory go to "res" > "values" > "styles.xml" and there add the "Base." in front of "Theme.AppCompat.Light.DarkActionBar" inside paretn
<style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar">
我希望这可以解决您的问题. :)
I hope this will solve your problem. :)
这篇关于Android Studio布局设计视图未加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!