building.html 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>Building &mdash; android_core 0.1.0 documentation</title>
  7. <link rel="stylesheet" href="_static/haiku.css" type="text/css" />
  8. <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
  9. <link rel="stylesheet" href="_static/print.css" type="text/css" />
  10. <script type="text/javascript">
  11. var DOCUMENTATION_OPTIONS = {
  12. URL_ROOT: '',
  13. VERSION: '0.1.0',
  14. COLLAPSE_INDEX: false,
  15. FILE_SUFFIX: '.html',
  16. HAS_SOURCE: true
  17. };
  18. </script>
  19. <script type="text/javascript" src="_static/jquery.js"></script>
  20. <script type="text/javascript" src="_static/underscore.js"></script>
  21. <script type="text/javascript" src="_static/doctools.js"></script>
  22. <script type="text/javascript" src="_static/theme_extras.js"></script>
  23. <link rel="top" title="android_core 0.1.0 documentation" href="index.html" />
  24. <link rel="next" title="Getting started" href="getting_started.html" />
  25. <link rel="prev" title="Installing" href="installing.html" />
  26. </head>
  27. <body>
  28. <div class="header"><h1 class="heading"><a href="index.html">
  29. <span>android_core 0.1.0 documentation</span></a></h1>
  30. <h2 class="heading"><span>Building</span></h2>
  31. </div>
  32. <div class="topnav">
  33. <p>
  34. «&#160;&#160;<a href="installing.html">Installing</a>
  35. &#160;&#160;::&#160;&#160;
  36. <a class="uplink" href="index.html">Contents</a>
  37. &#160;&#160;::&#160;&#160;
  38. <a href="getting_started.html">Getting started</a>&#160;&#160;»
  39. </p>
  40. </div>
  41. <div class="content">
  42. <div class="section" id="building">
  43. <span id="id1"></span><h1>Building<a class="headerlink" href="#building" title="Permalink to this headline">¶</a></h1>
  44. <p>android_core uses the <a class="reference external" href="http://www.gradle.org/">Gradle</a> build system in tandem with an external maven
  45. repository which supplies dependencies (.jar&#8217;s and .aar&#8217;s).</p>
  46. <p>To build debug APKs for all android_core packages, execute the <a class="reference external" href="http://gradle.org/docs/current/userguide/gradle_wrapper.html">gradle wrapper</a>.</p>
  47. <div class="highlight-bash"><div class="highlight"><pre><span class="nb">cd </span>android_core
  48. ./gradlew assemble
  49. </pre></div>
  50. </div>
  51. <p>You may deploy the android libraries (.aar&#8217;s) to your local maven repository so
  52. that other android packages outside android_core can use them with:</p>
  53. <p>To build the documentation, you may execute the docs task:</p>
  54. <div class="highlight-bash"><div class="highlight"><pre>./gradlew docs
  55. </pre></div>
  56. </div>
  57. <p>At this point, you may interact with your Android projects via Android Studio as described
  58. in the <a class="reference external" href="http://wiki.ros.org/android/AndroidStudio">RosWiki</a> pages.</p>
  59. </div>
  60. </div>
  61. <div class="bottomnav">
  62. <p>
  63. «&#160;&#160;<a href="installing.html">Installing</a>
  64. &#160;&#160;::&#160;&#160;
  65. <a class="uplink" href="index.html">Contents</a>
  66. &#160;&#160;::&#160;&#160;
  67. <a href="getting_started.html">Getting started</a>&#160;&#160;»
  68. </p>
  69. </div>
  70. <div class="footer">
  71. &copy; Copyright 2013, Google, Inc..
  72. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
  73. </div>
  74. </body>
  75. </html>