i'm trying to use a number of unfamiliar #AdditionalJar's in a b4a project. naturally, many, many
so, one by one, i desugar them, and the number of errors drops until i'm down to 1 jar
(in this case cose-java-x.x.x.jar. i tried many of the x.x.x versions, hoping for a different outcome.)
anyway, when i run the desugar script on cose-java, i get:
i look at the cose-java jar, and, of course, reference to the com.upokecenter.cbor package is there.
i have that package (it already happened to be an #AdditionalJar in my project).
my question is: how to include it in the desugar process of another jar. is there a command line option?
i tried an additional --input= option, but that doesn't work.
is the only way to handle this to try to rebuild cose-java from source with cbor as a dependency? (and then desugar that result, if any).
i'm guessing i could do that from the java command line, yes? (my only experience compiling java is with SLC for my b4a libraries).
but since both are already built, it would be good if desugar could handle it.
are thrown.Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
so, one by one, i desugar them, and the number of errors drops until i'm down to 1 jar
(in this case cose-java-x.x.x.jar. i tried many of the x.x.x versions, hoping for a different outcome.)
anyway, when i run the desugar script on cose-java, i get:
Exception in thread "main" java.lang.NoClassDefFoundError: com/upokecenter/cbor/CBORObject
i look at the cose-java jar, and, of course, reference to the com.upokecenter.cbor package is there.
i have that package (it already happened to be an #AdditionalJar in my project).
my question is: how to include it in the desugar process of another jar. is there a command line option?
i tried an additional --input= option, but that doesn't work.
is the only way to handle this to try to rebuild cose-java from source with cbor as a dependency? (and then desugar that result, if any).
i'm guessing i could do that from the java command line, yes? (my only experience compiling java is with SLC for my b4a libraries).
but since both are already built, it would be good if desugar could handle it.