ros2-java / ros2_java

Java and Android bindings for ROS2
Apache License 2.0
174 stars 93 forks source link

gradle.properties for rclandroid #208

Open samcts2309 opened 2 years ago

samcts2309 commented 2 years ago

Is there anyway to auto generate gradle.properties for rclandroid project?

Below is my current build steps for rclandroid project after building ros2_java package:

  1. Manually clone the ros2_java_examples into the android workspace
  2. colcon build --packages-select ros2_java_examples
  3. copy the gradle.properties from ros2_java_examples to rclandroid project
  4. add missing properties and set ament.gradle_recursive_dependencies=true
  5. build rclandroid-release.aar with android studio
cuihaifengchina commented 2 years ago

hi gays!i build ti with error ,do you have any idea about it?thanks

CMake Error at CMakeLists.txt:18 (find_package): By not providing "Findspdlog_vendor.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "spdlog_vendor", but CMake did not find one.

Could not find a package configuration file provided by "spdlog_vendor" with any of the following names:

spdlog_vendorConfig.cmake
spdlog_vendor-config.cmake

Add the installation prefix of "spdlog_vendor" to CMAKE_PREFIX_PATH or set "spdlog_vendor_DIR" to a directory containing one of the above files. If "spdlog_vendor" provides a separate development package or SDK, be sure it has been installed.