Null in API version Android Studio preview

Viewed 5089

I updated from Android Studio 2.3 to 3.0 and now none of the previews on the XML editors are shown.

I can see a null in the top bar in the API level selector and it does not give me any option to pick

enter image description here

enter image description here

Any possible solution for that?

I tried Invalidate cache and restart but it does not seem to help.

3 Answers

Just press "Sync Project with gradle" and enjoy :) Sync icon is present in the toolbar enter image description here

I resolve this isuue by Syncing Project with gradle files.

In android studio from top toolbar.

choose first File option and click option Sync Project with gradle files.

thanks.

choose first File option and click option Sync Project with gradle files. work for me

Related