Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Projects References only add the dependent project source code (your AI project) as a soft (perhaps weak is a more accurate word) reference, your AI project is not added into you Android Project Build path. so the actual ai.jar is not exported into the final apk when Eclipse build your app.</p> <p>You should add AI project into Android project build path:</p> <ol> <li>Right-click on your android project, select Build Path - Configure Build Path, in Projects tab (Required projects on the build path), add your AI project here.</li> <li>Then in Order and Export tab (Build class path order and exported entries), tick your newly added AI project appeared int the list.</li> </ol> <p>Step 2 is probably optional, this should add AI project as a reference in Android project and export the ai.jar to final.apk when Eclipse build your Android project.</p> <p><strong>Update from ADT 17.0.0:</strong> </p> <p>Android Dev Team just release SDK r17 with ADT 17.0.0, which claims to handle this use cases properly now:</p> <blockquote> <p>Eclipse specific changes</p> <p>The dynamic classpath container called “Library Projects” has been renamed to “Android Dependencies” as it now contains more than just Library Projects.</p> <p>The container will now also be populated with Java-only projects that are referenced by Library Projects. If those Java projects also reference other Java projects and/or jar files they will be added automatically (jar files referenced through user libraries are supported as well).</p> <p>Important: this only happens if the references are set to be exported in the referencing project. Note that this is not the default when adding a project or jar file to a project build path. Library Projects (and the content of their libs/*.jar files) is always exported. This change only impacts Java-only projects and their own jar files.</p> <p>Again, duplicates (both projects and jar files) are detected and removed.</p> </blockquote> <p>More in <a href="http://tools.android.com/recent/dealingwithdependenciesinandroidprojects">this link</a>.</p>
 

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