I've got a set up like so:
NativeLibrary CommonJavaComponents
| | | |
| | | |
| FunctionalLibrary1 |
| | |
----------Project---------
Slightly complicated at first but this is one of my most simple sets ups.
NativeLibrary
contains .so files and jni jarsCommmonJavaComponents
contain customised Activity/Fragment ancestors and android-support-v13.jarFunctionalLibrary1
uses both of the above and gives extra functionality used in the ProjectProject
directly references all 3.
I've managed to get everything compiling by exporting "Android Private Libraries".
Unfortunately on my device I'm getting this:
05-22 16:52:50.110: W/dalvikvm(3215): Unable to resolve superclass of Lcom/test/library/common/activity/LoggingActivity; (50)
05-22 16:52:50.110: W/dalvikvm(3215): Link of class 'Lcom/test/library/common/activity/LoggingActivity;' failed
LoggingActivity
lives in CommonJavaComponents
and extends FragmentActivity
from android-support-v13.jar
Does anybody know what magic I need to perform or is ADT 22 just plain broken?
EDIT
For conciseness:
NativeLibrary, CommonJavaComponents, FunctionalLibrary1 all have Android Private Libraries exported. Project
references all three, it compiles but still shows the above error.