I recently updated Android Studio to version 3.1, and was using the layout editor without problems until today.
I'm getting two separate errors, one is "Preview timed out while rendering the layout." in the editor itself, and the layout and blueprint are blank; And the other is that in my styles.xml it shows "Cannot resolve symbol" for Theme.
I don't understand if these are related to each other. What could be causing these errors?
I've tried:
- Invalidate Cache/Restart;
- Changing gradle plugin version;
- Selecting another theme;
- Selecting another api level;