I am building a native extension for Android.
For the android library, I create a android project and add several third-party jar files to build path.
I extract a jar file from a android project and merge it and third-party jar files into a single jar file.
I package ANE using a merged jar file and build a APK.
When I install a APK and launch it, NoClassdefFoundError on the third-party class occurs.
I use Flash Builder 4.6 and set sdk version to the Flex SDK 4.6.0 + AIR SDK 15.0.0.356.
I decompile APK and check the classes.dex.
Strangely a certain jar's classes are missing in the classes.dex.
I tried googling and found a similar case.
The following is the link :
I try to follow the answer in this link.
Did dx.jar in the AIR SDK really strip out some classes of third-party jar file??
I inquired the java version of the third-party related with NoClassdefFoundError.
Now I am waiting for the reply.
Is anybody else know about this?