Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The current version (15.0.1) of the Android Developer Tools do not allow projects which contain resources (e.g., layouts, custom attributes, etc.) to be bundled as a simple <code>.jar</code>.</p> <p>As per <a href="http://developer.android.com/guide/developing/projects/index.html#LibraryProjects" rel="noreferrer">the library project documentation</a>:</p> <blockquote> <p>However, a library project differs from an standard Android application project in that you cannot compile it directly to its own .apk and run it on an Android device. Similarly, you cannot export the library project to a self-contained JAR file, as you would do for a true library. Instead, you must compile the library indirectly, by referencing the library in the dependent application and building that application.</p> </blockquote> <p>ADT currently attaches a <code>.jar</code> of library projects in Eclipse for linking purposes to work around the previously temperamental purely project references. This does not have any of the resources bundled with it, however.</p> <p>The <a href="http://tools.android.com/download" rel="noreferrer">download page</a> of the ADT Tools website does not indicate that support for this will be making it in to ADT 16 either (as of ADT 16 preview 2). The current rumor is that this will make its way into version 17 of the tools which is still a good ways off. I cannot cite this as it's mainly hear-say from Twitter and the Android developer chat room.</p> <p>For now, you're stuck using it as a library project.</p> <p>Trust me, no one wants to bundle these projects as <code>.jar</code>s more than I do :)</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload