Doc: Make Android SDK Tools requirements clearer

The Android SDK Tools packages have changed, so the tool for
installing the required tools depends on the installed Tools
version.

Change-Id: Idcbda80c958a4f0d2d5be533481e9838fd95e71a
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
This commit is contained in:
Leena Miettinen
2017-09-04 13:50:33 +02:00
parent 4adfae9d96
commit 33bb20ba57

View File

@@ -72,10 +72,14 @@
\li \l{http://developer.android.com/sdk/index.html}{Android SDK Tools} \li \l{http://developer.android.com/sdk/index.html}{Android SDK Tools}
After installing the Tools, you can use the The following Android SDK packages and tools are required for
\l{https://developer.android.com/studio/command-line/sdkmanager.html} development:
{sdkmanager} to get the API and tools packages required for
development. \list
\li Platform tools
\li Build tools
\li At least one SDK platform
\endlist
\li On Windows, you also need the following: \li On Windows, you also need the following:
@@ -98,14 +102,34 @@
\section1 Setting Up the Development Environment \section1 Setting Up the Development Environment
You must download and install the latest Android NDK and SDK, and update the You must download and install the latest Android NDK and SDK, and then
SDK to get the build and platform tools needed for development. Since update or install the tools and packages needed for development. The SDK
SDK tools version 25.3.0, \QC, you must use the tool used to update and install the other SDK tools and packages depends on
the Android SDK Tools version that you have installed:
\list
\li Android SDK Tools version 25.2.5, or earlier
Use the
\l{https://developer.android.com/studio/tools/help/android.html}
{android} tool that comes with the SDK Tools package. For example,
on Ubuntu the following command starts the SDK update:
\code
./android update sdk
\endcode
\li Android SDK Tools version 25.3.0, or later
Use the
\l{https://developer.android.com/studio/command-line/sdkmanager.html} \l{https://developer.android.com/studio/command-line/sdkmanager.html}
{sdkmanager} command line tool for SDK package management and the {sdkmanager} command line tool for SDK package management and the
\l{https://developer.android.com/studio/command-line/avdmanager.html} \l{https://developer.android.com/studio/command-line/avdmanager.html}
{avdmanager} tool for Android Virtual Device (AVD) management. {avdmanager} tool for Android Virtual Device (AVD) management.
\endlist
In addition, you must install Qt for Android as part of Qt 5.2, or later. In addition, you must install Qt for Android as part of Qt 5.2, or later.
For more information, see \l{Qt for Android}. For more information, see \l{Qt for Android}.