I just updated the sdk. I've created a new layout XML with just a FrameLayout and a TextView. And I got a rendering problem:
The following classes could not be found: - android.support.v7.internal.widget.ActionBarOverlayLayout
I've tried, but none did work. how can I fix it?
There is a bug in the Android Gradle plugin that will be fixed for version 1.2.3. The bug is described here: http://tools.android.com/knownissues as well as two workarounds. Below is the one I used successfully:
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.
Try to change the theme to something different than "AppTheme". I had the same problem and that's how I fixed it.
Simply rebuilding the project Build --> Rebuild Project solved for me
I changed the android version used to render layouts from 22 to 17 and it worked.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With