android: Target API 30

This commit is contained in:
Sebastian Krzyszkowiak 2021-07-19 01:57:31 +02:00
parent ca023d6296
commit f42fca2606
No known key found for this signature in database
GPG key ID: E8F235CF3BDBC3FF
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
compileSdkVersion 30
defaultConfig {
applicationId "${LIBSUPERDERPY_APPID}"
minSdkVersion 15

View file

@ -568,7 +568,7 @@ if (NOT LIBSUPERDERPY_CONFIG_INCLUDED)
ENDMACRO()
if(ANDROID)
set(ANDROID_TARGET "android-26" CACHE STRING "What Android target to compile for.")
set(ANDROID_TARGET "android-30" CACHE STRING "What Android target to compile for.")
STRING(REGEX REPLACE "^android-" "" ANDROID_TARGET_VERSION ${ANDROID_TARGET})
file(REMOVE_RECURSE "${CMAKE_BINARY_DIR}/android")