"Design editor is unavailable until after a successful project sync" in Android Studio

When I open Android Studio it displays the following message:

"Design editor is unavailable until after a successful project sync"

and

Gradle sync failed: Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the User Manual chapter on the daemon at
Process command line: C:\Program Files\Android\Android Studio\jre\bin\java.exe -Xmx512m -Dfile.encoding=windows-1251 -Duser.country=RU -Duser.language=ru -Duser.variant -cp C:\Users\chugu\.gradle\wrapper\dists\gradle-5.6.4-all\ankdp27end7byghfw1q2sw75f\gradle-5.6.4\lib\gradle-launcher-5.6.4.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 5.6.4
Please read the following process output to find out more:
-----------------------
-----------------------
Check the JVM arguments defined for the gradle process in:
- gradle.properties in project root directory
Consult IDE log for more details (Help | Show Log) (5 s 637 m... (show
balloon)

Please help me figure it out: Design editor is unavailable until after a successful project sync and Gradle sync failed.

Screenshot of error message

0 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like