bibashmanjusubedi
bibashmanjusubedi

Reputation: 1257

Gradle Project Sync Failed on Android Studio

I am new to Android App development.I installed Java Development Kit andAndroid Studio v 3.0.1 . There was no problem in downloading and installing Android Studio. The problem came when the time came to creat a new project. My instructor on the course told me the new project would take time to set up and configure. Mine took some 115 minutes. And after it came a Windows Alert Message mentioning that Windows Firewall has blocked some features of JDK library.

This is the screen shot of the Windows Alert Message.

Windows Alert Message

I just ignored the message, and clicked the Close button. And when I see my newly opened project on Android Studio, I see the message that Gradle Project sync failed.Basic functionlity will not work properly.

This is the screenshot of Gradle Error. Gradle Project Sync Failed

I am clueless about what this Gradle is. Does this gradle error have anything to do to do with the Windows Alert Message I ignored? How can I fix this problem? I want to create apps and just new to Android App development.

Upvotes: 0

Views: 1673

Answers (1)

michal3377
michal3377

Reputation: 1462

Windows Firewall automatically blocked Internet access for Android Studio and informed you about that in that dialog. Most programs, like Android Studio need Internet access, so in the future you want to click "Allow access" button whenever that dialog show up (for trusted software).

Go to Windows Firewall and in the "Allow a program or feature through Windows Firewall" option look for "OpenJDK Platform binary" and check both checkboxes.

Screenshot tutorial, but for Firefox

Upvotes: 1

Related Questions