building.html 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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 android_core &mdash; android_core 0.0.0-SNAPSHOT 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.0.0-SNAPSHOT',
  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.0.0-SNAPSHOT documentation" href="index.html" />
  24. <link rel="next" title="Getting started" href="getting_started.html" />
  25. <link rel="prev" title="Installing android_core" href="installing.html" />
  26. </head>
  27. <body>
  28. <div class="header"><h1 class="heading"><a href="index.html">
  29. <span>android_core 0.0.0-SNAPSHOT documentation</span></a></h1>
  30. <h2 class="heading"><span>Building android_core</span></h2>
  31. </div>
  32. <div class="topnav">
  33. <p>
  34. «&#160;&#160;<a href="installing.html">Installing android_core</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-android-core">
  43. <span id="building"></span><h1>Building android_core<a class="headerlink" href="#building-android-core" 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 and <a class="reference external" href="http://ant.apache.org/">Apache Ant</a> build systems.
  45. <a class="reference external" href="http://ros.org/wiki/rosmake/">rosmake</a> is not supported.</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>roscd android_core
  48. ./gradlew debug
  49. </pre></div>
  50. </div>
  51. <p>To build the documentation, you may execute the docs task:</p>
  52. <div class="highlight-bash"><div class="highlight"><pre>./gradlew docs
  53. </pre></div>
  54. </div>
  55. <p>At this point, you may interact with your Android projects as described in the
  56. <a class="reference external" href="http://developer.android.com/guide/developing/building/building-cmdline.html">Android documentation</a>.</p>
  57. <p>Automatic generation of Eclipse project files is not currently supported. To
  58. create an Eclipse project from an existing ROS Android package:</p>
  59. <ol class="arabic simple">
  60. <li>From Eclipse, create a new Android project from existing source (your
  61. package directory).</li>
  62. <li>Add all the jars in the libs directory to your project&#8217;s build path.</li>
  63. </ol>
  64. </div>
  65. </div>
  66. <div class="bottomnav">
  67. <p>
  68. «&#160;&#160;<a href="installing.html">Installing android_core</a>
  69. &#160;&#160;::&#160;&#160;
  70. <a class="uplink" href="index.html">Contents</a>
  71. &#160;&#160;::&#160;&#160;
  72. <a href="getting_started.html">Getting started</a>&#160;&#160;»
  73. </p>
  74. </div>
  75. <div class="footer">
  76. &copy; Copyright 2012, Google, Inc..
  77. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
  78. </div>
  79. </body>
  80. </html>