Doc: Update and reorganize Android development requirements

Change-Id: I61dec28ca16b4f4849a0c8c6da8002d3f3fe2ce9
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
Leena Miettinen
2017-05-11 16:26:02 +02:00
parent b9b3717007
commit 2dd48a2080
2 changed files with 22 additions and 17 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

@@ -69,12 +69,25 @@
\endlist \endlist
\li A tool chain for building applications for Android devices provided \li A tool chain for building applications for Android devices provided
by the by the \l{http://developer.android.com/tools/sdk/ndk/index.html}
\l{http://developer.android.com/sdk/index.html}{Android SDK} and
\l{http://developer.android.com/tools/sdk/ndk/index.html}
{Android NDK} from Google. {Android NDK} from Google.
\note Android Studio is currently not supported by \QC. \li \l{http://developer.android.com/sdk/index.html}{Android SDK Tools}
After installing the Tools, update the Android SDK to get the API
and tools packages required for development. You can use the
\l{http://developer.android.com/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
\note The android tool is deprecated since SDK tools version 25.3.0.
Consider using
\l{https://developer.android.com/studio/command-line/sdkmanager.html}
{sdkmanager} instead.
\li On Windows, you also need the following: \li On Windows, you also need the following:
@@ -95,18 +108,6 @@
\endlist \endlist
After installing these tools, update the Android SDK to get the API
and tools packages required for development. You can use the
\l{http://developer.android.com/tools/help/android.html}{android} tool
that comes with the SDK Tools package. For example, on Ubuntu the
following command starts the
\l{http://developer.android.com/sdk/installing/adding-packages.html}
{Android SDK Manager}, where you can select the packages to install:
\code
./android update sdk
\endcode
\section1 Selecting the APK Build Tool \section1 Selecting the APK Build Tool
On Android, applications are distributed in specially structured type of ZIP On Android, applications are distributed in specially structured type of ZIP
@@ -117,7 +118,7 @@
\li It is 25 to 50 percent faster than Ant when rebuilding packages. \li It is 25 to 50 percent faster than Ant when rebuilding packages.
\li It is integrated with Android Studio. \li It is delivered with Qt 5.9.
\li It supports easily adding Android Extras libraries, such as \li It supports easily adding Android Extras libraries, such as
Google Play services or Android extension files (.obb) to your Google Play services or Android extension files (.obb) to your
@@ -125,6 +126,10 @@
\endlist \endlist
\note Android SDK tools version 25.3.0 onwards do not contain Ant scripts
anymore. Therefore, Gradle builds are forced and you must use Qt 5.9 or
later when using these tools versions.
\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 update the