android studio 无法在可视化页面预览布局文件
16lz
2021-01-23
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
解决办法:
把style文件中theme改一下
在Theme.AppCompat.Light.DarkActionBar前面加上Base. 如下
<!-- Base application theme. -->
<style name="AppTheme"parent="Base.Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
</style>
当然,开发完APP也是需要进行全方位的检测:www.ineice.com
更多相关文章
- Gradle配置文件详解
- Android对APK文件的安装和卸载
- android aidl文件分析
- 在Mac上完全删除android studio初始配置文件
- android 开发中的文件操作
- Android中使用Android studio生成正式签名的APK文件