android: update default target per recent google play requirements and add explicit supports-screens tag

This commit is contained in:
Sebastian Krzyszkowiak 2018-08-01 20:21:47 +02:00
parent a730281bb8
commit c7fbf08e12
2 changed files with 2 additions and 1 deletions

View file

@ -6,6 +6,7 @@
android:installLocation="auto">
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="${ANDROID_TARGET_VERSION}" />
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
<supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true" android:resizeable="true" />
<application android:label="@string/app_name" android:debuggable="${LIBSUPERDERPY_ANDROID_DEBUGGABLE}" android:icon="@mipmap/${LIBSUPERDERPY_GAMENAME}">
<activity android:name="net.dosowisko.${LIBSUPERDERPY_GAMENAME}.SuperDerpyActivity"
android:label="@string/app_name"

View file

@ -246,7 +246,7 @@ endif()
ENDMACRO()
if(ANDROID)
set(ANDROID_TARGET "android-23" CACHE STRING "What Android target to compile for.")
set(ANDROID_TARGET "android-26" CACHE STRING "What Android target to compile for.")
STRING(REGEX REPLACE "^android-" "" ANDROID_TARGET_VERSION ${ANDROID_TARGET})
# The android tool on Windows is a batch file wrapper, which cannot be