Open ghost opened 6 years ago
Hi @letsdoitagain, sorry for the delay.
Do you still experience this issue? Unfortunately, I don't recall getting stuck like that. Is your system going through a firewall of some kind? Catkin handles the controls to Gradle when compiling, so this doesn't seem to be a catkin-specific issue.
Hello,
UPDATE
The problem is: upon building, it cannot access desired urls over internet. I have tried tweaking proxies but not worth it. :(
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 updated 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 { classpath "com.android.tools.build:gradle:2.3.3" classpath "org.ros.rosjava_bootstrap:gradle_plugins:[0.3,0.4)" } }
However, after trying alot, I am now getting the following error on catkin_make:
`* What went wrong: A problem occurred configuring root project 'android_core'.
I am using ubuntu 16.06, ros kinetic. Using openjdk8 installed using:
sudo apt-get install openjdk-8-jdk
and installed rosjava using:sudo apt-get install ros-kinetic-rosjava-build-tools
I am not using any proxy. Never have/had any problems with accessing a valid url through catkin.Thanks in advance.