Importing an Android project into Android Studio, the error "Design editor is unavailable until next gradle sync" appears:
You can see that there is no option: Sync Project with Gradle Files:
Going to: File -> Settings -> Main Toolbar -> Android.MainToolBarActionGroup -> Sync Projects with Gradle Files
But the Apply option is "off" in the sense of being "locked", so there’s no way to change anything:
And all options for Clean Project are not available:
Please what to do to fix this?
2
Answers
This problem was caused because I opened the project in Android Studio. But the right to do is to IMPORT the project. Thank you very much.
It can be found at the top of Android Studio, or at the top left side. Look for the little elephants.