Problem building android_core: catkin_make

Hello,

The problem is: upon building, it cannot access desired urls over internet. I have tried tweaking proxies but not worth it. :( P.S: It never happened that any of script could not access internet (in the past).

I am trying to build android_core but cannot do it. For some reason i can access the below url from buidscript.gradle in browser but building it threw an error that "" it cannot access the url: **buidscript.gradle:"https://github.com/rosjava/rosjava_bootstrap/raw/kinetic/buildscript.gradle".

So i solved it by updating the buildscript.gradle file as follows (i.e. merging both the file from the url and local file):

rootProject.buildscript {
String rosMavenPath = System.getenv("ROS_MAVEN_PATH")
String rosMavenRepository = System.getenv("ROS_MAVEN_REPOSITORY")
repositories {
if (rosMavenPath != null) {
rosMavenPath.tokenize(":").each { path ->
maven {
// We can't use uri() here because we aren't running inside something
// that implements the Script interface.
url "file:\${path}"
}
}
}
maven {
url "http://repository.springsource.com/maven/bundles/release"
}
maven {
url "http://repository.springsource.com/maven/bundles/external"
}
if (rosMavenRepository != null) {
maven {
url rosMavenRepository
}
}
maven {
url "https://github.com/rosjava/rosjava_mvn_repo/raw/master"
}
jcenter()
}
dependencies {
}


}

However, after trying alot, I am now getting the following error on catkin_make (i.e it is failing to get "org.ros.rosjava_bootstrap:gradle_plugins:[0.3,0.4)" (it is a dependency from buildscript.gradle)):

* What went wrong:
A problem occurred configuring root project 'android_core'.

Could not resolve all dependencies for configuration ':classpath'.
Required by:
project :
> Failed to list versions for org.ros.rosjava_bootstrap:gradle_plugins.