javafxmobile-plugin icon indicating copy to clipboard operation
javafxmobile-plugin copied to clipboard

Setting minSdkVersion

Open KniKnaKnorke opened this issue 6 years ago • 1 comments

I tried to install my app on android. But when I run androidInstall I get this error:

org.wildfly.transaction.client.provider.jboss.JBossJTALocalTransactionProvider.registerInterposedSynchronization:(Ljavax/transaction/Transaction;Ljavax/transaction/Synchronization;)V: invoking a signature-polymorphic requires --min-sdk-version >= 26 (currently 13)

I set compileSdkVersion = '26' minSdkVersion = '26' targetSdkVersion = '26' in the build.gradle. But it still does not work. Is there any way to set this property?

KniKnaKnorke avatar Mar 06 '19 11:03 KniKnaKnorke

I found a solution.

dexOptions { additionalParameters "--min-sdk-version=26" }

KniKnaKnorke avatar Mar 06 '19 13:03 KniKnaKnorke