diff --git a/doc/qtcreator/images/qtcreator-android-cmake-settings.png b/doc/qtcreator/images/qtcreator-android-cmake-settings.png index e02c77c38bc..bbe680a0269 100644 Binary files a/doc/qtcreator/images/qtcreator-android-cmake-settings.png and b/doc/qtcreator/images/qtcreator-android-cmake-settings.png differ diff --git a/doc/qtcreator/images/qtcreator-android-sdk-manager-arguments.png b/doc/qtcreator/images/qtcreator-android-sdk-manager-arguments.png new file mode 100644 index 00000000000..9123fcffd4b Binary files /dev/null and b/doc/qtcreator/images/qtcreator-android-sdk-manager-arguments.png differ diff --git a/doc/qtcreator/images/qtcreator-android-sdk-manager.png b/doc/qtcreator/images/qtcreator-android-sdk-manager.png index 8ff625d2236..7f24683d741 100644 Binary files a/doc/qtcreator/images/qtcreator-android-sdk-manager.png and b/doc/qtcreator/images/qtcreator-android-sdk-manager.png differ diff --git a/doc/qtcreator/images/qtcreator-options-android-main.png b/doc/qtcreator/images/qtcreator-options-android-main.png index 15afbe73b6b..70d119b3206 100644 Binary files a/doc/qtcreator/images/qtcreator-options-android-main.png and b/doc/qtcreator/images/qtcreator-options-android-main.png differ diff --git a/doc/qtcreator/images/qtcreator-options-android-sdk-tools.png b/doc/qtcreator/images/qtcreator-options-android-sdk-tools.png index 966e3707a04..19237d1b789 100644 Binary files a/doc/qtcreator/images/qtcreator-options-android-sdk-tools.png and b/doc/qtcreator/images/qtcreator-options-android-sdk-tools.png differ diff --git a/doc/qtcreator/src/android/androiddev.qdoc b/doc/qtcreator/src/android/androiddev.qdoc index cda10b5a287..e9f3e569fa5 100644 --- a/doc/qtcreator/src/android/androiddev.qdoc +++ b/doc/qtcreator/src/android/androiddev.qdoc @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2021 The Qt Company Ltd. +** Copyright (C) 2022 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Creator documentation. @@ -113,8 +113,11 @@ The locked items were installed by the SDK Manager, and can only be modified from the \uicontrol {SDK Manager} tab. For more information, see \l{Managing Android NDK Packages}. - \li In the \uicontrol {Android OpenSSL} group, set the path to the - prebuilt OpenSSL libraries. + \li Select the \uicontrol {Automatically create kits for Android tool chains} + check box to allow \QC to create the kits for you. \QC displays a + warning if it cannot find a suitable Qt version. + \li Optionally, in the \uicontrol {Android OpenSSL Settings} group, set + the path to the prebuilt OpenSSL libraries. For Qt applications that require OpenSSL support, \QC allows to quickly add the \l {Android OpenSSL support} to your project. @@ -122,9 +125,6 @@ \li Select \uicontrol {Download OpenSSL} to download the OpenSSL repository to the selected path. If the automatic download fails, the download web page opens for manual download. - \li Select the \uicontrol {Automatically create kits for Android tool chains} - check box to allow \QC to create the kits for you. \QC displays a - warning if it cannot find a suitable Qt version. \endlist \section2 Manual Setup @@ -185,6 +185,9 @@ To manually download NDKs, select \inlineimage icons/online.png . + To use the selected NDK version for all Qt versions by default, select + \uicontrol {Make Default}. + To add custom NDK paths manually to the global list of NDKs, select \uicontrol Add. This creates custom tool chains and debuggers associated to that NDK. However, you have to manually create a kit that uses the @@ -206,8 +209,12 @@ \image qtcreator-android-sdk-manager.png "Android SDK Manager" - To filter the packages, select \uicontrol Available, \uicontrol Installed, - or \uicontrol All in \uicontrol {Show Packages}. + You can show packages for the release channel you select in + \uicontrol {Show Packages} > \uicontrol Channel. Common channel IDs include + \uicontrol Stable, \uicontrol Beta, \uicontrol Dev, and \uicontrol Canary. + To show and update also obsolete packages, select + \uicontrol {Include obsolete}. To filter packages, select + \uicontrol Available, \uicontrol Installed, or \uicontrol All. To update the installed Android SDK packages, select \uicontrol {Update Installed}. Select the packages to update, and then @@ -218,6 +225,8 @@ \uicontrol {SDK Manager arguments} field. The available arguments are listed and described in \uicontrol {Available arguments}. + \image qtcreator-android-sdk-manager-arguments.png "Android SDK Manager Arguments dialog" + \section1 Managing Android Virtual Devices (AVD) The available AVDs are listed in \uicontrol Tools > \uicontrol Options diff --git a/doc/qtcreator/src/android/deploying-android.qdoc b/doc/qtcreator/src/android/deploying-android.qdoc index 362abd7cf3e..4f361e44222 100644 --- a/doc/qtcreator/src/android/deploying-android.qdoc +++ b/doc/qtcreator/src/android/deploying-android.qdoc @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2021 The Qt Company Ltd. +** Copyright (C) 2022 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Creator documentation. @@ -128,8 +128,8 @@ \section2 Specifying Settings for Packages To specify settings for the \c androiddeployqt tool, select - \uicontrol Projects > \uicontrol Build > \uicontrol {Build Android APK} > - \uicontrol Details. + \uicontrol Projects > \uicontrol {Build & Run} > \uicontrol Build > + \uicontrol {Build Android APK} > \uicontrol Details. \image qtcreator-android-build-apk-step.png "Build Android APK step" @@ -166,9 +166,9 @@ distribution to the Google Play store, create an AAB by selecting the \uicontrol {Build Android App Bundle (*.aab)} check box. - When building with CMake, you can view the selected ABIs in the - \uicontrol {Initial CMake parameters} field in the \uicontrol CMake section. - You can set additional ABIs as values of the ANDROID_ABI key: + When building with CMake, you can view the selected ABIs in + \uicontrol {Initial Configuration} in the \uicontrol CMake section. + You can set additional ABIs as values of the \c ANDROID_ABI key: \image qtcreator-android-cmake-settings.png "CMake settings for building AABs"