-
Notifications
You must be signed in to change notification settings - Fork 166
android_core catkin_make stuck at "0% CONFIGURING root project" #282
Comments
hi @DEQDON, The failure downloading Gradle could be related to the JDK version you have installed. Are you using Java 8? Take a look at this issue for reference: rosjava/rosjava_core#252. Regarding the second failure, Gradle is using a buildscript hosted on Github (see error message under |
@jubeira Thanks for your reply! Regarding the first problem, yes, I am using Java 8. I have just installed Oracle JDK 8 and uninstalled Open JDK 8 due to some suggestions which I cannot find the source now. But I still can't get the download process going. Regarding the second problem, yes, I can see the file in the link. It's listed below:
|
@jubeira Hi, I want to provide some update on my problem. I solved the issue by modifying java proxy, namely modifying the http and https proxy properties in the file "/usr/lib/jvm/java-8-oracle/jre/lib/net.properties" as well as modifying the network proxy properties in "javaws -version" in the terminal. Thanks so much for your pointing out the network problem. I have to say that I am doing this in China, and the network connection problem with Java was unprecedented to me and was really frustrating. This single problem took me 6 days. So the download is smooth now. Plenty of files are downloaded. However, when it comes to building the examples, some other errors popped out. Take "android_tutorial_camera" for example, it has the following error:
The other examples suffer the same "WIFI_SERVICE" error when building. And finally, the catkin_make fails with the last several lines showing:
Could you please give me some instructions on this new issue? |
@DEQDON thanks for sharing that info; it may be useful for other users in China as well. About the new issue, I would check the build tools version that you are using. I think 25.0.2 is the latest one I've tried; in some cases newer build tools may flag warnings as errors. Do you need the latest build tools? Can you try downgrading them? Another option would be following the suggestion in the error in And the last one is a permission failure. When you build an android projects, the resulting artifacts should be placed under |
@jubeira The problems are all solved now. Thank you so much for your help! Here's a summary of the experiences for the issues I met. Firstly, the network connection must be taken care of. I'm using shadowsocks for system proxy, but it doesn't work for java in the terminal. So I need to modify the java proxy properties as mentioned above. I might need to configure a global VPN later :) Secondly, regarding the "WIFI_SERVICE" error when building the examples, I am using a newer version 26.0.0 of build tool than 25.0.2 that you suggested. But the problem is easy to solve, I just go into
to
as the build tool suggested. Lastly, the "Could not transfer artifact" is truly because of permission failure. I have found that the The |
@DEQDON I am also getting the same error:
I believe you solved the problem by changing proxies. Can you share the file? How did you change the files proxies "net.properties" and how or what changes in "javaws -version". Please Note, i have openjdk-8 . |
@letsdoitagain |
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:
After 10 minutes, the catkin_make failed, and the terminal shows:
I'm looking forward to any kind of help. Thank you for your time!
The text was updated successfully, but these errors were encountered: