tags:

views:

322

answers:

1

I have a couple of third party classes which serve as a library I can build my application upon. They are contained in a folder which was added Java Build Path -> Libraries (in Eclipse) with "Add Class Folder". It works fine so far an my app compiles. But the produced .apk contains only my classes and therefore the application does not run.

How can I tell Eclipse to package the third party classes into the .apk as well?

+2  A: 

Eclipse will package all 3rd party classes in your apk that are in your Android project's classpath. It does this by default, as long as you are using the Android SDK plugin for Eclipse.

This is a duplicate of this question (and many others): http://stackoverflow.com/questions/1334802/how-can-i-use-external-jars-in-an-android-project

mbaird
This is perfectly true for jars but with class folders it seems not to work.
georgij