微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Android Studio渲染问题,无法找到类

我刚刚更新了sdk.我已经创建了一个新的布局 XML,只有一个FrameLayout和一个TextView.我有一个渲染问题:

The following classes Could not be found:
–android.support.v7.internal.widget.ActionBarOverlayLayout

我已经尝试了,但没有一个工作.我该怎么解决

解决方法

Android Gradle插件中有一个错误,将修正为1.2.3版本.该错误在此描述: http://tools.android.com/knownissues以及两个解决方法.以下是我成功使用的一个

Workaround 1: First manually build the project (Build > Rebuild project),then manually sync the project (using the Sync with Gradle files in the toolbar,or from the Tools > Android menu),then finally press Refresh in the toolbar above the layout editor.

原文地址:https://www.jb51.cc/android/313382.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐