android_core catkin_make stuck at "0% CONFIGURING root project" #282
Description
Hi, I'm new to rosjava and rosandroid. When I'm trying to build android_core (I want to use android_tutorial_camera), the catkin_make stuck at "0% CONFIGURING root project".
My computer is ubuntu 16.04.2, and my ROS is kinetic. The android Sdk and android studio are all ready.
The procedure I'm following is from http://wiki.ros.org/android/Tutorials/kinetic/Installation%20-%20ROS%20Development%20Environment . The rosjava is installed via deb installation from http://wiki.ros.org/rosjava/Tutorials/kinetic/Deb%20Installation
FYI, I encontered failure of downloading gradle-3.5.1-bin.zip before I met this. And I solved it by mannually downloading it and modifying the gradle-wrapper.properties to use the downloaded file.
The terminal output of my catkin_make is as follows:
When it's stuck, the terminal shows:
don@Deck:~/android_core$ catkin_make
Base path: /home/don/android_core
Source space: /home/don/android_core/src
Build space: /home/don/android_core/build
Devel space: /home/don/android_core/devel
Install space: /home/don/android_core/install
####
#### Running command: "make cmake_check_build_system" in "/home/don/android_core/build"
####
####
#### Running command: "make -j4 -l4" in "/home/don/android_core/build"
####
<-------------> 0% CONFIGURING
> root project
After 10 minutes, the catkin_make failed, and the terminal shows:
don@Deck:~/android_core$ catkin_make
Base path: /home/don/android_core
Source space: /home/don/android_core/src
Build space: /home/don/android_core/build
Devel space: /home/don/android_core/devel
Install space: /home/don/android_core/install
####
#### Running command: "make cmake_check_build_system" in "/home/don/android_core/build"
####
####
#### Running command: "make -j4 -l4" in "/home/don/android_core/build"
####
FAILURE: Build failed with an exception.
* Where:
Script '/home/don/android_core/src/android_core/buildscript.gradle' line: 19
* What went wrong:
A problem occurred evaluating script.
> Could not read script 'https://raw.githubusercontent.com/rosjava/rosjava_bootstrap/kinetic/buildscript.gradle'.
> Unexpected end of file from server
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 10 mins 5.529 secs
android_core/CMakeFiles/gradle-android_core.dir/build.make:57: recipe for target 'android_core/CMakeFiles/gradle-android_core' failed
make[2]: *** [android_core/CMakeFiles/gradle-android_core] Error 1
CMakeFiles/Makefile2:447: recipe for target 'android_core/CMakeFiles/gradle-android_core.dir/all' failed
make[1]: *** [android_core/CMakeFiles/gradle-android_core.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed
I'm looking forward to any kind of help. Thank you for your time!