diff --git a/pkg/android/AndroidManifest.xml b/pkg/android/AndroidManifest.xml index 787b0a0a..3cb8501b 100644 --- a/pkg/android/AndroidManifest.xml +++ b/pkg/android/AndroidManifest.xml @@ -1,10 +1,30 @@ - + - - - + + + @@ -22,10 +42,22 @@ - - - + + - + + + + diff --git a/pkg/android/build.gradle b/pkg/android/build.gradle index ca328780..3fb1887d 100644 --- a/pkg/android/build.gradle +++ b/pkg/android/build.gradle @@ -5,7 +5,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:7.2.1' + classpath 'com.android.tools.build:gradle:8.6.0' } } @@ -14,10 +14,12 @@ repositories { mavenCentral() } -apply plugin: 'com.android.application' +apply plugin: qtGradlePluginType dependencies { implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar']) + //noinspection GradleDependency + implementation 'androidx.core:core:1.13.1' } android { @@ -28,14 +30,15 @@ android { * - qtAndroidDir - holds the path to qt android files * needed to build any Qt application * on Android. + * - qtGradlePluginType - whether to build an app or a library * * are defined in gradle.properties file. This file is * updated by QtCreator and androiddeployqt tools. * Changing them manually might break the compilation! *******************************************************/ - //compileSdkVersion androidCompileSdkVersion - compileSdkVersion "android-33" + namespace androidPackageName + compileSdkVersion androidCompileSdkVersion buildToolsVersion androidBuildToolsVersion ndkVersion androidNdkVersion diff --git a/pkg/android/res/values/libs.xml b/pkg/android/res/values/libs.xml index beb15ca1..fe63866f 100644 --- a/pkg/android/res/values/libs.xml +++ b/pkg/android/res/values/libs.xml @@ -17,4 +17,5 @@ +