Qt on Android:android SDK installation

Source: Internet
Author: User

I previously introduced the installation of the QT on Android development environment under windows in the article "Getting Started with Qt 5.2 for Android in Windows", skipping the install of the Android SDK, and actually there are some friends who are having problems here. Here is a special introduction to the installation of the Android SDK.

Copyright, reproduced Please specify the source: Http://blog.csdn.net/foruok


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

If you want to try Java development, you can choose ADT Bundle or Android Studio, or choose a separate SDK tool, see the callout in Figure 1.


Figure 1 Selecting SDK Tools for Windows

Select Download the SDK Tools for Windows as shown in Figure 1. After the download is complete, find the executable program and double click to start installing SDK Tools. 2 is shown below:


Figure 2 Android SDK Tools Installation Welcome interface

There is nothing to say, please bash the "Next" button. Wow, pretty smart, the JDK installed on the computer was discovered by the SDK Tools Setup Wizard. 3 is shown below:


Figure 3 The installed JDK is detected

The trace has been uncovered, and had to "Next". This time let us choose the user, carry forward a bit of sharing spirit, select "Install for anyone using this computer". 4 is shown below:


Figure 4 Selecting a user

After selecting the user, the Installation wizard will make a good mention we can change the installation path, I changed to D:\ANDROID\ANDROID-SDK. 5 is shown below:


Figure 5 Location Selection

Hey, buddy, say you, go on, hit "Next". The wizard also lets us select the location of the SDK Tools that will be installed in the Start menu. 6 is shown below:


Figure 6 Start Menu position

With the default on the line, click the "Install" button directly. See, 7 shows, the installation begins!


Figure 7 SDK Tools is installing

When it's finished, 8 shows:


Figure 8 Installation Complete

Please tap the "Next" button and the wizard says Android SDK Tools is already installed, and by default check the Start SDK Manager option for us. 9 shows, small kind of considerate.


Figure 9 Android SDK Tools installation ends

This time, please gently click on the "Finish" button in Figure 9. Thus, the SDK Manager is running for the first time, it needs to download the SDK's description information online, please be patient and wait for a moment. 10 is shown below:


Figure ten SDK Manager first launch

After the SDK Manager has updated the Online SDK description information, the SDK and tools that can be downloaded are listed. 11 is shown below:


Figure One SDK list

If your computer space is not a problem, you can have all the SDK and tools are selected. If you want to customize it, go ahead and watch it. You can also open the SDK Manager to install it if you find a disadvantage in subsequent development. Here is a suggestion to use an Android virtual machine, select some pre-compiled images, such as ARM EABI v7a System image, and the SDK Platform is required for each API level; Documentaion for Android SDK Recommendations Choose a No, Sources for the Android SDK also recommends selecting one, and the Samples for SDK also recommends selecting one. In addition, please do not select the API 10 below, Qt does not support.

When you have selected the version of the SDK you want to install, click the "Install Packages" button in the lower right corner of Figure 11 to enter the license Agreement interface. 12 is shown below:


Figure SDK License Agreement

The license agreement must be accepted or nothing can be installed. Then click on the "Install" button, OK, to rest time, drink a cup of tea or smoke a cigarette, casually. Download the installation process, generally speaking will be very long (this is the author's experience, if you network good character and bursting may be faster). Installation procedure 13 shows the following:


Figure SDK Manager Download and install the selected package

The installation process is slow, there may be some situation in the middle, a popup box tells you that a package download timeout or failure, do not respond to it, turn off the line. Wait until the installation is finished, you can see similar to the interface shown in Figure 14, the installation is successful, the status of the column will become installed, the picture box out.


Figure SDK installed successfully

The Android SDK comes with the ADB tool, located at location 15:


Figure of the ADB location

Add the ADB folder "D:\Android\android-sdk\platform-tools" to the system environment variable Path. Open a command-line window, enter "ADB version", and you should see Figure 16:


Figure ADB Installation Verification

OK, later you can use the ADB to view the logs or log on to the phone to see some things.


So far, the installation configuration for the Android SDK is complete.

Copyright, reproduced Please specify the source: Http://blog.csdn.net/foruok


Links to my other articles:

    • Qt on Android: text-to-detail Hello world whole process
    • Introduction to the development of Qt 5.2 for Android under Windows
    • Qt for Android deployment process Analysis
    • QT on Android: output qt Debug information to Logcat
    • Qt on ANDROID:QT 5.3.0 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 compiled pure C project
    • Windows under Qt for Android compiled Android C language executable program

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.