Qt on Android: Android SDK Installation

Source: Internet
Author: User

Previously, I introduced how to set up the Qt on Android development environment in Windows in the article Qt 5.2 for Android development getting started in Windows. I skipped the installation of the Android SDK, some friends may encounter problems here. Here we will introduce how to install the Android SDK.

Copyright, reproduced please indicate the source: http://blog.csdn.net/foruok


Android SDK can be downloaded here: http://developer.android.com/sdk/index.html.

If you want to use java for development, you can select ADT bundle or Android Studio. Otherwise, select an independent SDK tool. See the annotation in Figure 1.


Figure 1 select SDK Tools fZ plugin? Http://www.bkjia.com/kf/ware/vc/ "target =" _ blank "class =" keylink "> keys/yda00NCzzNDyo6zLq7v3vs2/keys/nKvqO6PGJyIC8 + keys =" http://www.2cto.com/uploadfile/Collfiles/20140525/2014052509405640.jpg "alt =" \ "/>

Figure 2 welcome page for installing Android SDK Tools

There is nothing to say. Please slam the "Next" button. The JDK installed on the computer was discovered by the SDK Tools Installation Wizard. 3:


Figure 3 JDK installed

The image is lost, so you have to "Next. This time, let's select a user, develop the spirit of sharing, and select "Install for anyone using this computer ". 4:


Figure 4 select a user

After selecting a user, the installation wizard kindly mentions that we can change the installation path to d: \ Android \ android-sdk. 5:


Figure 5 Position Selection

Hey, buddy, let's go on. Click "Next ". The wizard allows us to select the location of the SDK Tools to be installed in the Start Menu. 6:


Figure 6 menu start position

Click the "Install" button. As shown in figure 7, the installation starts!


Figure 7 installing SDK Tools

After the installation is complete, it is shown in Figure 8:


Figure 8 installation completed

Click "Next". The Wizard says that the Android SDK Tools has been installed. The Start SDK Manager option is selected by default. 9. It's a little considerate.


Figure 9 Android SDK Tools installation is complete

Click "Finish" in Figure 9 gently this time. As a result, the SDK Manager starts running for the first time and needs to download the SDK description online. Please wait for a while. 10:


Figure 10 first startup of SDK Manager

After SDK Manager updates the online SDK description, it lists all the sdks and tools that can be downloaded. 11:


Figure 11 SDK list

If your computer space is not a problem, you can select all the sdks and tools. If you want to customize it, let's take a look. If you find any disadvantages during subsequent development, you can also open the SDK Manager to install it. We recommend that you select pre-compiled images, such as arm eaz images, to use the Android virtual machine? Http://www.bkjia.com/kf/qianduan/css/ "target =" _ blank "class =" keylink "> encrypt/decrypt/Cvs3H67K70qrRodTxwcujrCBRdCCyu9ans9ahozwvcD48cD4g0 License = "Install packages" button to enter the license agreement interface. 12:


Figure 12 SDK License Agreement

You must accept the license agreement, or you cannot install anything. Click the "Install" button. After the break, you can have a cup of tea or smoke a cigarette. The download and installation process is generally very long (this is my experience and may be faster if you have a good network character and burst ). The installation process is as follows:


Figure 13 SDK Manager download and install the Selected Package

The installation process is slow, and some situations may occur in the middle. A pop-up box tells you that a package download times out or fails. Just disable it. After the installation is complete, you can see the interface shown in figure 14. After the installation is successful, the Status column changes to Installed, which is shown in the figure.


Figure 14 SDK installation successful

The Android SDK contains the adb tool, as shown in Figure 15:


Figure 15 adb position

Add "D: \ Android \ android-sdk \ platform-tools" in the folder of adb to the Path of the system environment variable. Open the command line window, enter "adb version", and press Enter. You can see Figure 16:


Figure 16 adb installation Verification

Now, you can use adb to view logs or log on to your mobile phone to view some things.


So far, the installation and configuration of the Android SDK have been completed.

Copyright, reproduced please indicate the source: http://blog.csdn.net/foruok


My other article links:

Qt on Android: graphic description Hello World Full Process Qt 5.2 for Android development in Windows Qt for Android deployment process analysis Qt on Android: Output Qt on Android to logcat: qt 5.3.0 is released. for Android improvement instructions, Qt on Android Episode 1 (translation) Qt on Android Episode 2 (translation) Qt on Android Episode 3 (translation) Qt on Android Episode 4 (Translation) qt for Android compilation pure C Project Qt for Android compiling Android C language executable program in Windows

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.