android studio 沒法在可視化頁面預覽佈局文件

Rendering Problemsandroid

 

the following classes could not be found:app

android.support.v7.internal.widget.ActionBarOverlayLayout (Fix Build Path, Edit XML, Create Class) ui

Tip: Try to build the projectspa

 

解決辦法:ip

style文件中theme改一下開發

 

Theme.AppCompat.Light.DarkActionBar前面加上Base.  以下get

 

<!-- Base application theme. -->it

<style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar">io

   <!-- Customize your theme here. -->class

</style>

 

固然,開發完APP也是須要進行全方位的檢測:www.ineice.com

相關文章
相關標籤/搜索