No way to disable the `-d` downgrade flag on Android installation`
This flag is not supported by old Android devices, we should make a flag to disable this, or try and improve the device SDK version detection script
http://community.openfl.org/t/android-apk-installation-error-unknown-option-d/29/5
The longer we go without solving this, the less of a difference it makes. Android devices that old are only going to get rarer, and the thread you linked provides enough hints to allow devs to toggle it themselves.
My only suggestion is to update your comment to point to the new location.
In case the forum thread gets deleted or something, here's what worked for multiple people there:
- Re-enable the
ifblock in AndroidManifest.hx. - Run
lime rebuild tools.
If the getDeviceSDKVersion function causes your build to break:
- Comment
args.push("-d"). - Run
lime rebuild tools.