Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
MinSdkVersion being replaced by the targetSdkVersion in the output of AndroidManifest.xml #2794
Steps to Reproduce
Tested with Beta/Stable version
Set MinSdkTarget target to a value and the output AndroidManifest.Xml should keep this value
MinSdkTarget is being replaced by whatever I have in the Target version
Visual Studio Community 2017 for Mac
Mono Framework MDK
Apple Developer Tools
SDK Tools Version: 26.1.1
Microsoft Mobile OpenJDK
Android Device Manager
@eduardo-rta could you help provide some more information around what exact scenarios are not working for you?
To the first point of your minSdkVersion changing on you -- what value are you attempting to use? I am unable to reproduce this issue. I tried a few cases (
To your second point -- what do you mean by 'will not run'? Are you encountering a build error? Or are you unable to deploy to a device/emulator? Are you encountering a crash once the Android app is running?
I could make it happen again:
When you try to run to an emulator that has version < 9.0 it says the Sdk is Wrong.
If you open the original manifest you will see the minSdk has the right information, but in the output manifest the minSdk is the same as the Compile version (9.0)