Set Android 5.0 as minimum one, older API are not compatible (nw)

This commit is contained in:
Miodrag Milanovic 2016-10-08 10:18:46 +02:00
parent 6cd263c667
commit 6a21f6ddf3

View File

@ -71,7 +71,7 @@ newoption {
newoption {
trigger = "with-android",
value = "#",
description = "Set Android platform version (default: android-14).",
description = "Set Android platform version (default: android-21).",
}
newoption {
@ -90,7 +90,7 @@ function toolchain(_buildDir, _subDir)
location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION)
local androidPlatform = "android-14"
local androidPlatform = "android-21"
if _OPTIONS["with-android"] then
androidPlatform = "android-" .. _OPTIONS["with-android"]
elseif _OPTIONS["PLATFORM"]:find("64", -2) then