解決Android Studio的Rendering Problems之沒有視覺化編輯視窗
阿新 • • 發佈:2019-02-16
無法出現視覺化窗口布局:
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>