building.txt 1015 B

123456789101112131415161718192021222324252627282930313233343536
  1. .. _building:
  2. Building
  3. ========
  4. android_core uses the `Gradle`_ build system in tandem with an external maven
  5. repository which supplies dependencies (.jar's and .aar's).
  6. To build debug APKs for all android_core packages, execute the `gradle wrapper`_.
  7. .. code-block:: bash
  8. cd android_core
  9. ./gradlew assemble
  10. You may deploy the android libraries (.aar's) to your local maven repository so
  11. that other android packages outside android_core can use them with:
  12. .. code-block:: bash
  13. ./gradlew publishToMavenLocal
  14. To build the documentation, you may execute the docs task:
  15. .. code-block:: bash
  16. ./gradlew docs
  17. At this point, you may interact with your Android projects via Android Studio as described
  18. in the `RosWiki`_ pages.
  19. .. _RosWiki: http://wiki.ros.org/android/Android Studio
  20. .. _Gradle: http://www.gradle.org/
  21. .. _gradle wrapper: http://gradle.org/docs/current/userguide/gradle_wrapper.html
  22. .. _Android documentation: http://developer.android.com/guide/developing/building/building-cmdline.html