Doc: Describe Android AVD options

- List the available device definitions
- Add information about the other fields

Task-number: QTCREATORBUG-30604
Change-Id: If22f8bfae916bafed7f1153fec7fd5962e406d5f
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
Leena Miettinen
2024-06-26 16:26:07 +02:00
parent e8ad591ae1
commit 2ba0ad4030
2 changed files with 29 additions and 5 deletions

View File

@@ -286,7 +286,8 @@ Platforms
### Android ### Android
* Added support for creating `android-desktop` devices * Added support for creating `android-desktop` devices in `Preferences` >
`Devices` > `Add` > `Android Device` > `Device definition`
* Added support for `namespace` in `build.gradle` * Added support for `namespace` in `build.gradle`
([QTBUG-106907](https://bugreports.qt.io/browse/QTBUG-106907)) ([QTBUG-106907](https://bugreports.qt.io/browse/QTBUG-106907))
* Fixed that errors when creating AVDs were not visible to the user * Fixed that errors when creating AVDs were not visible to the user

View File

@@ -302,22 +302,45 @@
\title Create an Android Virtual Device (AVD) \title Create an Android Virtual Device (AVD)
To create a new Android Virtual Device (AVD): You can create AVDs for:
\list
\li Automotive
\li Desktop
\li Phone
\li Tablet
\li TV
\li Wear
\endlist
To create a new AVD:
\list 1 \list 1
\li Go to \preferences > \uicontrol Devices. \li Go to \preferences > \uicontrol Devices.
\li Select \uicontrol Add > \uicontrol {Android Device} > \li Select \uicontrol Add > \uicontrol {Android Device} >
\uicontrol {Start Wizard}. \uicontrol {Start Wizard}.
\image qtcreator-android-create-avd.png {Create New AVD dialog} \image qtcreator-android-create-avd.png {Create New AVD dialog}
\li Set the name, definition, architecture, target API level, and \li In \uicontrol Name, give the AVD a name.
SD card size of the device. \li In \uicontrol {Device definition}, select the AVD type, and then
select one of the predefined AVDs or \uicontrol Custom for a custom
AVD.
\li In \uicontrol {Architecture (ABI)}, select an Android system image
that you installed on the computer.
\li In \uicontrol {Target API level}, select the \l{What is API Level?}
{API level} to use for building the application.
\li In \uicontrol {SD card size}, set the size of the SD card for the
AVD.
\li Select \uicontrol {Override existing AVD name} to overwrite an
existing AVD with a new AVD using the same name (\c avdmanager \c -f
option).
\li Select \uicontrol OK to create the AVD. \li Select \uicontrol OK to create the AVD.
\endlist \endlist
For more advanced options for creating a new AVD, use the command-line tool For more advanced options for creating a new AVD, use the command-line tool
\l{avdmanager} or the Android Studio's native AVD Manager UI. \l{avdmanager} or the Android Studio's native AVD Manager UI.
\sa {Android}{How To: Develop for Android}, {Developing for Android} \sa {Android}{How To: Develop for Android}, {Android Deploy Configuration},
{Developing for Android}
*/ */
/*! /*!