Gradle sync failed: connection refused in android 2.3

I created a project with mobile and auto support. And try to build the project but it gives Gradle sync failed Connection failed error.

On the SDK update sites, I cannot get the path to the android repository.

How to solve this problem?

Please, help...

+3


source to share


1 answer


To get a more detailed answer, you must describe the problem in detail.

If it exists, you should check the files build.gradle

and library/build.gradle

in the libraries you added as a project modulecompile project(path: ':XX')



And check settings.grade

that project(':XX').projectDir = new File('../XXXX/library')

and check the versions of your libraries com.android.support:support-

.

+4


source







All Articles