How to add the android application as a library to another android application?
<p>i create one simple apps.here i want use the one already create apps (name : mainLabProject) in my current apps.so i make the mainLabProject as library.goto <code>project explorer</code>->right click the <code>project Name</code>-> select <code>Properties</code>->select <code>android</code> then ->select <code>isLibrary</code> click <code>true</code> and create library.</p>

<p>After that i add this library in my current app (name UseLabProject).so follow the same path asa baove and after click <code>add</code> button and add mainLabProject  as library in my current Apps.</p>

<p>also apply the permission  in my current app`s maniFest file Like.</p>

<p><strong><code>&lt;uses-library android:name="info.main" android:required="true" /&gt;</code></strong></p>

<p>but when i run this apps this type error occur in conesole</p>

<pre><code>2012-07-21 12:18:05 - UseLabProject] Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY
[2012-07-21 12:18:05 - UseLabProject] Please check logcat output for more details.
[2012-07-21 12:18:05 - UseLabProject] Launch canceled!
</code></pre>

<p>and This type error in Logcat</p>

<pre><code>07-21 12:18:04.172: ERROR/PackageManager(63): Package info.use requires unavailable shared library info.main.MainLabProject; failing!
</code></pre>

<p>so now i how to solve this problem.</p>

<p>i remove the permission from manifest file then got this type exception</p>

<pre><code>07-21 12:56:23.885: E/AndroidRuntime(4663): java.lang.RuntimeException: Unable to start activity ComponentInfo{info.use/info.use.UseLabProject}: android.content.ActivityNotFoundException: Unable to find explicit activity class {info.use/info.main.MainLabProject}; have you declared this activity in your AndroidManifest.xml?
</code></pre>
