mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 05:34:47 +01:00
Switched to Android SDK 33
This commit is contained in:
parent
03711ede97
commit
9cead54213
2
.github/workflows/android.yml
vendored
2
.github/workflows/android.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
- name: Run sdkmanager update
|
- name: Run sdkmanager update
|
||||||
run: ${ANDROID_HOME}/tools/bin/sdkmanager --update
|
run: ${ANDROID_HOME}/tools/bin/sdkmanager --update
|
||||||
- name: Install android platform, platform-tools, build-tools and ndk
|
- name: Install android platform, platform-tools, build-tools and ndk
|
||||||
run: ${ANDROID_HOME}/tools/bin/sdkmanager --install "cmdline-tools;latest" "platform-tools" "platforms;android-31" "build-tools;31.0.0" "ndk;23.1.7779620"
|
run: ${ANDROID_HOME}/tools/bin/sdkmanager --install "cmdline-tools;latest" "platform-tools" "platforms;android-33" "build-tools;33.0.0" "ndk;23.1.7779620"
|
||||||
- name: Setup NDK path
|
- name: Setup NDK path
|
||||||
run: echo "ANDROID_NDK_ROOT=${ANDROID_HOME}/ndk/23.1.7779620/" >> $GITHUB_ENV
|
run: echo "ANDROID_NDK_ROOT=${ANDROID_HOME}/ndk/23.1.7779620/" >> $GITHUB_ENV
|
||||||
- name: Install Qt (Desktop)
|
- name: Install Qt (Desktop)
|
||||||
|
@ -585,7 +585,7 @@ android {
|
|||||||
message("OpenSSL not found, building without HTTPS support!")
|
message("OpenSSL not found, building without HTTPS support!")
|
||||||
}
|
}
|
||||||
|
|
||||||
ANDROID_TARGET_SDK_VERSION = 31
|
ANDROID_TARGET_SDK_VERSION = 33
|
||||||
ANDROID_VERSION_NAME = $$VERSION
|
ANDROID_VERSION_NAME = $$VERSION
|
||||||
ANDROID_VERSION_CODE = $$versionCode($$ANDROID_VERSION_NAME)
|
ANDROID_VERSION_CODE = $$versionCode($$ANDROID_VERSION_NAME)
|
||||||
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/pkg/android
|
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/pkg/android
|
||||||
|
@ -5,7 +5,7 @@ buildscript {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:7.0.2'
|
classpath 'com.android.tools.build:gradle:7.2.1'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -34,12 +34,13 @@ android {
|
|||||||
* Changing them manually might break the compilation!
|
* Changing them manually might break the compilation!
|
||||||
*******************************************************/
|
*******************************************************/
|
||||||
|
|
||||||
//compileSdkVersion androidCompileSdkVersion.toInteger()
|
compileSdkVersion androidCompileSdkVersion.toInteger()
|
||||||
compileSdkVersion 31
|
buildToolsVersion androidBuildToolsVersion
|
||||||
//buildToolsVersion androidBuildToolsVersion
|
|
||||||
buildToolsVersion '31.0.0'
|
|
||||||
ndkVersion androidNdkVersion
|
ndkVersion androidNdkVersion
|
||||||
|
|
||||||
|
// Extract native libraries from the APK
|
||||||
|
packagingOptions.jniLibs.useLegacyPackaging true
|
||||||
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
main {
|
main {
|
||||||
manifest.srcFile 'AndroidManifest.xml'
|
manifest.srcFile 'AndroidManifest.xml'
|
||||||
|
Loading…
Reference in New Issue
Block a user