You can use @DependsOn annotation to reference the other jar instead of including it inside your jar file, though there is no problem with packaging everything together.
Are you sure that your class is included in the jar file correctly?
This is a duplicate, I posted under "referencing wrapped libs" by mistake
Thanks for the response.
One thing occurred to me: the IDTech library is an android library, but the lib I am building was (as per docs) just an Android project. Could this be relevant?
I have the jar for IDTuniMagSDKAndroid in AdditionalLibs
I did use the deponds on as
@DependsOn(values = { "IDTuniMagSDKAndroid" })
I was using TestLayout as client, my library class is com.dsi.b4a.epay.Client action.
Logcat shows:
I/dalvikvm(11003): Turning on JNI app bug workarounds for target SDK version 4...
I/ActivityManager( 356): Start proc KCSoft.TestLayout for activity KCSoft.TestLayout/.main: pid=11003 uid=10077 gids={3003, 1015, 1028}
I/dalvikvm(11003): Failed resolving Lcom/dsi/b4a/epay/ClientAction; interface 7 'LIDTech/MSR/uniMag/uniMagReaderMsg;'
W/dalvikvm(11003): Link of class 'Lcom/dsi/b4a/epay/ClientAction;' failed
I/dalvikvm(11003): Failed resolving Lcom/dsi/b4a/epay/ClientAction; interface 7 'LIDTech/MSR/uniMag/uniMagReaderMsg;'
W/dalvikvm(11003): Link of class 'Lcom/dsi/b4a/epay/ClientAction;' failed
I/dalvikvm(11003): Failed resolving Lcom/dsi/b4a/epay/ClientAction; interface 7 'LIDTech/MSR/uniMag/uniMagReaderMsg;'
W/dalvikvm(11003): Link of class 'Lcom/dsi/b4a/epay/ClientAction;' failed
I/dalvikvm(11003): Could not find method com.dsi.b4a.epay.ClientAction.initialize, referenced from method KCSoft.TestLayout.main._activity_create
W/dalvikvm(11003): VFY: unable to resolve virtual method 1644: Lcom/dsi/b4a/epay/ClientAction;.initialize (Lanywheresoftware/b4a/BA;Ljava/lang/StringLjava/lang/String;
D/dalvikvm(11003): VFY: replacing opcode 0x6e at 0x0020
I/dalvikvm(11003): Failed resolving Lcom/dsi/b4a/epay/ClientAction; interface 7 'LIDTech/MSR/uniMag/uniMagReaderMsg;'
W/dalvikvm(11003): Link of class 'Lcom/dsi/b4a/epay/ClientAction;' failed
E/dalvikvm(11003): Could not find class 'com.dsi.b4a.epay.ClientAction', referenced from method KCSoft.TestLayout.main._globals