Android Studio 渲染问题 [英] Android Studio rendering problems
问题描述
我使用的是Android Studio 0.2.3,当正常打开活动布局时,预览应该出现在右侧,以便我可以在Text 和 Design 模式,应该再次显示布局的预览.
I'm using Android Studio 0.2.3 and when opened an activity layout normally, the preview should appear on the right side, so that I can switch between Text and Design mode, which should again show the preview of the layout.
但是无论是在 text 模式还是在 design 模式下,都不会在右侧显示预览.我刚刚收到错误 rendering questions...
But no preview is shown not on the right side neither when I'm in text mode nor in the design mode. I just get the error rendering problems...
当我编译所有内容并在我的设备上安装应用程序时,它可以正常工作,没有任何错误.对于布局的开发和试验,如果我能让预览工作的话还是很好的.
When I compile everything and install the app on my device, it works without any errors. For developing and experimenting with the layout, it would still be nice if I could get the preview to work.
我也尝试过在工作室的不同设备之间切换,但没有成功.
I have also tried to switch between different devices in the studio, but no success.
有人知道怎么解决吗?
推荐答案
将设计器预览中的 android 版本更改为当前版本取决于您的清单.渲染问题导致您的设计器预览使用的 API 级别高于您当前的 android API 级别.
Change your android version on your designer preview into your current version depend on your Manifest. rendering problem caused your designer preview used higher API level than your current android API level.
根据您当前的 API 级别进行调整.如果 API 级别不在列表中,您需要通过 SDK Manager 安装它.
Adjust with your current API Level. If the API level isn't in the list, you'll need to install it via the SDK Manager.
这篇关于Android Studio 渲染问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!