hello friends,
if you are facing "gradle sync failed" error in android studio. and so, any android related folder or preview is not showing then you can follow the steps shown in this video.
text to paste:
org.gradle.jvmargs=-Xmx512m -XX\:MaxPermSize\=512m
Note:
you need to follow these steps every time you will create new project in android studio.