Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
QtGP 1.0
-
None
-
-
2a3926e44 (dev)
Description
QtGP getSDKDirectory function is being called twice when build is started. First by gradle since it's marked as @InputDirectory and second time by configure command.
This can be fixed ether by:
- Changing @InputDirectory to @Internal.
- Removing @InputDirectory and renaming the function.
Output (look for getSDKDirectory):
Executing tasks: [:app:assembleDebug] in project C:\Repos\Qt\qtdeclarative\examples\platforms\android\qtquickview_java > Configure project :app apply isIdeaSync getBuildDirectory getSDKDirectory Warning: SDK processing. This version only understands SDK XML versions up to 3 but an SDK XML file of version 4 was encountered. This can happen if you use versions of Android Studio and the command-line tools that were released at different times. AGPBI: {"kind":"warning","text":"We recommend using a newer Android Gradle plugin to use compileSdk = 34\n\nThis Android Gradle plugin (7.4.1) was tested up to compileSdk = 33\n\nThis warning can be suppressed by adding\n android.suppressUnsupportedCompileSdk=34\nto this project's gradle.properties\n\nThe build will continue, but you are strongly encouraged to update your project to\nuse a newer Android Gradle Plugin that has been tested with compileSdk = 34","sources":[{}]} > Task :app:QtBuildTask getSDKDirectory
Attachments
Issue Links
- is required for
-
QTTA-194 Qt Gradle Plugin 1.1
- Open
For Gerrit Dashboard: QTTA-236 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
610387,7 | Fix getSDKDirectory being called twice | dev | qt-labs/qtgradleplugin | Status: MERGED | +2 | 0 |