building.txt 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. .. _building:
  2. Building android_core
  3. =====================
  4. android_core uses the `Gradle`_ build and `Apache Ant`_ build systems.
  5. `rosmake`_ is not supported.
  6. To build debug APKs for all android_core packages, execute the `gradle wrapper`_.
  7. .. code-block:: bash
  8. roscd android_core
  9. ./gradlew debug
  10. To build the documentation, you may execute the docs task:
  11. .. code-block:: bash
  12. ./gradlew docs
  13. At this point, you may interact with your Android projects as described in the
  14. `Android documentation`_.
  15. Automatic generation of Eclipse project files is not currently supported. To
  16. create an Eclipse project from an existing ROS Android package:
  17. #. From Eclipse, create a new Android project from existing source (your
  18. package directory).
  19. #. Add all the jars in the libs directory to your project's build path.
  20. .. _Gradle: http://www.gradle.org/
  21. .. _Apache Ant: http://ant.apache.org/
  22. .. _rosmake: http://ros.org/wiki/rosmake/
  23. .. _gradle wrapper: http://gradle.org/docs/current/userguide/gradle_wrapper.html
  24. .. _Android documentation: http://developer.android.com/guide/developing/building/building-cmdline.html