这个弹出出现在我的布局中。
缺少样式。是否为此布局选择了正确的主题? 使用布局上方的“主题组合”框选择不同的布局,或修复主题样式引用。 未能在当前主题中找到“?attr/textEditSuggestionItemLayout”。 (没有显示12个类似的错误) 提示:尝试刷新布局。
这是我的styles.xml
<resources>
<!--
Base application theme, dependent on API level. This theme is replaced
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
-->
<style name="AppBaseTheme" parent="android:Theme.Light">
<!--
Theme customizations available in newer API levels can go in
res/values-vXX/styles.xml, while customizations related to
backward-compatibility can go here.
-->
</style>
<!-- Application theme. -->
<style name="AppTheme" parent="AppBaseTheme">
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
</style>
</resources>我的错误是什么?
发布于 2016-10-05 12:39:00
这种情况有时会发生在动态膨胀的视图中,比如listview和其他类似的视图,只需运行它应该工作的代码就行了。对我来说通常都很好。如果它仍然存在,您可以始终转到: File>invalidate缓存并重新启动。
这就像android工作室的ctrl + alt + del。希望能帮上忙。:D
https://stackoverflow.com/questions/39873436
复制相似问题