1. 程式人生 > >解決Android Studio的Rendering Problems之沒有視覺化編輯視窗

解決Android Studio的Rendering Problems之沒有視覺化編輯視窗

 無法出現視覺化窗口布局:

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
解決方法:

把D:\Users\Administrator\AndroidStudioProjects\MyApplication\app\src\main\res\values中的style檔案中theme改一下

在Theme.AppCompat.Light.DarkActionBar前面加上Base.  如下

<!-- Base application theme. --> <style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar">    <!-- Customize your theme here. --> </style>