Rendering problems missing styles after every update

余生长醉 提交于 2019-12-04 03:27:43
Vit Veres

Try to Invalidate Caches and Restart. In Android Studio go to the File menu and choose Invalidate Caches / Restart and confirm with Invalidate and Restart.

An image showing the appropriate menu item in Android Studio:

Simply click on the Refresh icon:          

Maybe a bit late, but this may help others... Had the same problem and had another Error below: failed to find '?attr/textEditSuggestionItemLayout' with 9 similar errors not shown. The textEdit, which i made bold above made me thinking if the error had something to do with the TextView and if the missing styles relate to the TextView Styles. Although I had no more TextView´s in my Layout I gave it a try and added <item name="android:textViewStyle" >@style/AppTheme</item> and it worked, no more error messages to this. Maybe this can still help someone.

Happy coding

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!