API版本Android Studio预览中为Null [英] Null in API version Android Studio preview
本文介绍了API版本Android Studio预览中为Null的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我从Android Studio 2.3更新到3.0,现在没有显示XML编辑器上的预览.
I updated from Android Studio 2.3 to 3.0 and now none of the previews on the XML editors are shown.
我可以在API级别选择器的顶部栏中看到一个空值,并且它没有给我选择的任何选择
I can see a null in the top bar in the API level selector and it does not give me any option to pick
有什么解决办法吗?
我尝试了使缓存无效并重新启动,但似乎无济于事.
I tried Invalidate cache and restart but it does not seem to help.
推荐答案
只需按与gradle同步项目",即可享受:) 同步图标出现在工具栏中
Just press "Sync Project with gradle" and enjoy :) Sync icon is present in the toolbar
这篇关于API版本Android Studio预览中为Null的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文