Quantcast
Channel: Use a specific minSdkVersion only in a Debug mode - Stack Overflow
Viewing all articles
Browse latest Browse all 6

Answer by Quang Nhat for Use a specific minSdkVersion only in a Debug mode

$
0
0

Try this

androidComponents {    beforeVariants(selector().withName("debug")) { variantBuilder ->        variantBuilder.minSdk = 21}}

For more information about beforeVariants, can check this link


Viewing all articles
Browse latest Browse all 6

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>