在Android Studio中设置布局预览API

时间:2016-05-29 16:54:23

标签: android android-studio

我在JetBrains的页面上看到了#34;您还可以在所有已安装的Android API版本上预览布局。"

我试图展示布局预览API 21和API 16(已经安装了Android 4.1 SDK)

Android工作室正在展示API 21-22-23。如何添加API 16呢? enter image description here enter image description here

2 个答案:

答案 0 :(得分:2)

我弄清楚问题是什么。 Android SDK平台不足以单独进行预览。您还需要安装系统映像。我错过了图片。请务必选中“显示包详细信息”复选框。然后你可以安装系统映像。

enter image description here

答案 1 :(得分:0)

enter image description here

只需添加您想要支持的Api版本。

修改: 尝试使用您希望预览的api版本添加新设备。

enter image description here