ros-android / android_sensors_driver

ROS Driver for Android Sensors
79 stars 65 forks source link

Unable to build on Ubuntu 18.04 #28

Open swiss-knight opened 5 years ago

swiss-knight commented 5 years ago

Error is the following:

$ ./buildAll.sh 
./buildAll.sh: line 3: ../gradlew: No such file or directory

OS: Ubuntu 18.04 64 bit (kernel: 4.15.0-45-generic x86_64 GNU/Linux) ROS:

    /rosdistro: melodic
    /rosversion: 1.14.3

java:

$ java -version
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-2ubuntu0.18.04.1-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)
$ javac -version
javac 1.8.0_191

and if I try to build the project using Android-studio 3.3.1 (installed from snap) after having cloned it from this git repo (or Chad's updated one but where no issues reporting is available), the build process failed with the following error:

Could not find method compile() for arguments [ros.rosjava_core:rosjava_tutorial_pubsub:0.0.0-SNAPSHOT] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
Open File

Any help appreciated as there is no documentation for melodic.

soldierofhell commented 4 years ago

Hi @swiss-knight , have you manage to do the installation on melodic? I saw your (?) post on ros answers and seems like you did it (but strange, it has older creation date?) https://answers.ros.org/question/316595/rviz-config-file-for-android-sensors/

ThomasCarstens commented 2 years ago

The issue is still causing a build fail. Has anyone managed to resolve this?