Skip to content
This repository has been archived by the owner on Aug 14, 2020. It is now read-only.

Setting minSdkVersion #85

Open
KniKnaKnorke opened this issue Mar 6, 2019 · 1 comment
Open

Setting minSdkVersion #85

KniKnaKnorke opened this issue Mar 6, 2019 · 1 comment

Comments

@KniKnaKnorke
Copy link

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
Copy link
Author

I found a solution.

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant