| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 | 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">  <head>    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />        <title>Building android_core — android_core 0.0.0-SNAPSHOT documentation</title>        <link rel="stylesheet" href="_static/haiku.css" type="text/css" />    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />    <link rel="stylesheet" href="_static/print.css" type="text/css" />        <script type="text/javascript">      var DOCUMENTATION_OPTIONS = {        URL_ROOT:    '',        VERSION:     '0.0.0-SNAPSHOT',        COLLAPSE_INDEX: false,        FILE_SUFFIX: '.html',        HAS_SOURCE:  true      };    </script>    <script type="text/javascript" src="_static/jquery.js"></script>    <script type="text/javascript" src="_static/underscore.js"></script>    <script type="text/javascript" src="_static/doctools.js"></script>    <script type="text/javascript" src="_static/theme_extras.js"></script>    <link rel="top" title="android_core 0.0.0-SNAPSHOT documentation" href="index.html" />    <link rel="next" title="Getting started" href="getting_started.html" />    <link rel="prev" title="Installing android_core" href="installing.html" />   </head>  <body>      <div class="header"><h1 class="heading"><a href="index.html">          <span>android_core 0.0.0-SNAPSHOT documentation</span></a></h1>        <h2 class="heading"><span>Building android_core</span></h2>      </div>      <div class="topnav">              <p>        «  <a href="installing.html">Installing android_core</a>          ::          <a class="uplink" href="index.html">Contents</a>          ::          <a href="getting_started.html">Getting started</a>  »        </p>      </div>      <div class="content">                  <div class="section" id="building-android-core"><span id="building"></span><h1>Building android_core<a class="headerlink" href="#building-android-core" title="Permalink to this headline">¶</a></h1><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.<a class="reference external" href="http://ros.org/wiki/rosmake/">rosmake</a> is not supported.</p><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><div class="highlight-bash"><div class="highlight"><pre>roscd android_core./gradlew debug</pre></div></div><p>To build the documentation, you may execute the docs task:</p><div class="highlight-bash"><div class="highlight"><pre>./gradlew docs</pre></div></div><p>At this point, you may interact with your Android projects as described in the<a class="reference external" href="http://developer.android.com/guide/developing/building/building-cmdline.html">Android documentation</a>.</p><p>Automatic generation of Eclipse project files is not currently supported. Tocreate an Eclipse project from an existing ROS Android package:</p><ol class="arabic simple"><li>From Eclipse, create a new Android project from existing source (yourpackage directory).</li><li>Add all the jars in the libs directory to your project’s build path.</li></ol></div>      </div>      <div class="bottomnav">              <p>        «  <a href="installing.html">Installing android_core</a>          ::          <a class="uplink" href="index.html">Contents</a>          ::          <a href="getting_started.html">Getting started</a>  »        </p>      </div>    <div class="footer">        © Copyright 2012, Google, Inc..      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.    </div>  </body></html>
 |