Tuesday, 15 March 2011

android - Library project dependency built as APK -



android - Library project dependency built as APK -

i'm using external library in project.

i downloaded code github , added project eclipse workspace. after went mainapp, added project folder library.

everytime compile mainapp, dependency build apk. when i'm using external library in project, it's same behavior. why happens?

[2013-02-09 20:57:50 - mainapp] installing mainapp.apk... [2013-02-09 20:58:25 - mainapp] success! [2013-02-09 20:58:25 - mainapp] project dependency found, installing: androidbillinglibrary [2013-02-09 20:58:25 - androidbillinglibrary] uploading androidbillinglibrary.apk onto device 'emulator-5556' [2013-02-09 20:58:26 - androidbillinglibrary] installing androidbillinglibrary.apk... [2013-02-09 20:58:29 - androidbillinglibrary] success! [2013-02-09 20:58:29 - mainapp] starting activity de.mainappapp.activities.splashactivity on device emulator-5556 [2013-02-09 20:58:31 - mainapp] activitymanager: starting: intent { act=android.intent.action.main cat=[android.intent.category.launcher] cmp=de.mainappapp/.activities.splashactivity }

i had similar problem, far had next solution:

mark external library library project (as have shown in pic) clean projects , wait till main application project builds using external library unmark "is library" check on external library now can install application

at installation apk of external library , can find easily, since not library project anymore. if still marked, couldn't find apk file library. anyway how trick it. i'm sure there improve solution that, didn't figure out yet !

android eclipse build compilation

No comments:

Post a Comment