summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2017-09-04 13:50:33 +0200
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2017-09-04 12:59:51 +0000
commit33bb20ba5766465d5683577e6f816298cbcfaf34 (patch)
treed73c5060a36f1206d54c78ead5a0d845a3b5da0e
parent4adfae9d962f817a8322b903d868660b7469bcdd (diff)
downloadqt-creator-33bb20ba5766465d5683577e6f816298cbcfaf34.tar.gz
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>
-rw-r--r--doc/src/android/androiddev.qdoc46
1 files changed, 35 insertions, 11 deletions
diff --git a/doc/src/android/androiddev.qdoc b/doc/src/android/androiddev.qdoc
index 34cf3f7d6a..cd92814647 100644
--- a/doc/src/android/androiddev.qdoc
+++ b/doc/src/android/androiddev.qdoc
@@ -72,10 +72,14 @@
\li \l{http://developer.android.com/sdk/index.html}{Android SDK Tools}
- After installing the Tools, you can use the
- \l{https://developer.android.com/studio/command-line/sdkmanager.html}
- {sdkmanager} to get the API and tools packages required for
- development.
+ The following Android SDK packages and tools are 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:
@@ -98,13 +102,33 @@
\section1 Setting Up the Development Environment
- You must download and install the latest Android NDK and SDK, and update the
- SDK to get the build and platform tools needed for development. Since
- SDK tools version 25.3.0, \QC, you must use the
- \l{https://developer.android.com/studio/command-line/sdkmanager.html}
- {sdkmanager} command line tool for SDK package management and the
- \l{https://developer.android.com/studio/command-line/avdmanager.html}
- {avdmanager} tool for Android Virtual Device (AVD) management.
+ You must download and install the latest Android NDK and SDK, and then
+ update or install the tools and packages needed for development. The SDK
+ 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}
+ {sdkmanager} command line tool for SDK package management and the
+ \l{https://developer.android.com/studio/command-line/avdmanager.html}
+ {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.