javafxmobile-plugin
javafxmobile-plugin copied to clipboard
Setting minSdkVersion
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?
I found a solution.
dexOptions { additionalParameters "--min-sdk-version=26" }