Reputation: 1
When I started studying with a android example project named "HelloWorld2", i started emulator, next i gradle the project, but it occurs with following errors:
Gradle project sync failed. Error:Connection timed out: connect
Upvotes: 0
Views: 1312
Reputation: 480
Go to gradle settings and make sure you have checked the offline work checkbox.
Settings -> Build, Execution, Deployment -> Build tools -> Gradle
and trying resyncing the project
Upvotes: 4