[英]Android Studio Rendering Problems (No preview)
我剛剛安裝了Android Studio,並且是應用程序編程的初學者。 首次啟動Android Studio時出現以下錯誤。
Rendering problems
The following classes could not be found
- android support.v7.internal.widget.ActionBarOverlayLayout (Fix_Build_Path, Edit_XML, Create_Class)
Tip: Try to build the project
該錯誤的可能原因是什么,我該如何解決?
在res / values / styles.xml中更改AppTheme父級可以解決此問題。 更換
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
</style>
與
<style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
</style>
在預覽窗格中將API級別從22降級到21
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.