Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
None
-
5.15.17
Description
When any application is build (any Qt example) with Q5.15.17 or Qt 6.7.2 using newer Android API 34/35 It gives following error.
Gradle version used with Qt5.15 is 7.5.1. Gradle version used with Qt6.7.2 is 8.3
android build platform: android-35 Install to device: No FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'android-build'. > Could not resolve all files for configuration ':classpath'. > Could not find com.android.tools.build:gradle:8.3. Searched in the following locations: - https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/8.3/gradle-8.3.pom - https://repo.maven.apache.org/maven2/com/android/tools/build/gradle/8.3/gradle-8.3.pom Required by: project :
various other higher version of Gradle gave same error but somehow Gradle version 8.0.1 finds .pom file but then it is complaining about android.jar file which when I checked it is very much present in sdk-35 folder: and in SDK-34
> Task :desugarDebugFileDependencies > Task :processDebugResources FAILED > Task :mergeExtDexDebug FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':processDebugResources'. > A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction > Android resource linking failed aapt2 E 07-23 23:35:50 75174 52224720 LoadedArsc.cpp:94] RES_TABLE_TYPE_TYPE entry offsets overlap actual entry data. aapt2 E 07-23 23:35:50 75174 52224720 ApkAssets.cpp:152] Failed to load resources table in APK '/Users/irfanomair/Library/Android/sdk/platforms/android-35/android.jar'. error: failed to load include path /Users/irfanomair/Library/Android/sdk/platforms/android-35/android.jar
Google needs newer API34/35 after August 2024. Qt 5 does not work with API34 or API35. So any update for Qt5 app will not be possible from Sept 2024.
Attachments
Issue Links
- duplicates
-
QTBUG-128214 Building for android 34 fails with errors about ministro
-
- Closed
-
- mentioned in
-
Page Loading...