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 all, reprint please specify 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, choose ADT Bundle or Android Studio, or choose a separate SDK tool, take a look at the callout in Figure 1.
Figure 1 Selecting SDK Tools for Windows
As you can see in Figure 1, select Download the SDK Tools for Windows. Once the download is complete, you will be able to start installing SDK Tools by double-clicking on the running program. 2 What you see:
Figure 2 Android SDK Tools Installation Welcome interface
There's nothing to say, please punch "Next" button. Wow, pretty smart, the JDK installed on the computer was discovered by the SDK Tools Setup Wizard. 3 What you see:
Figure 3 Detecting the installed JDK
The trace has been uncovered, just "Next". This time let us choose the user, carry forward a bit of sharing spirit, select "Install for anyone using this computer". 4 What you see:
Figure 4 Selecting a user
After selecting the user, the installation Wizard would kindly mention that we were able to change the installation path and I changed to D:\ANDROID\ANDROID-SDK. 5 What you see:
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 What you see:
Figure 6 Start Menu position
With the default, click the "Install" button directly. See, 7 See, installation started!
Figure 7 SDK Tools is installing
After loading the look, 8 saw:
Figure 8 Installation Complete
Please click on "Next" button and the wizard says Android SDK Tools is already installed, and by default check the Start SDK Manager option for us. 9 See, small kind of considerate.
Figure 9 Android SDK Tools installation ends
Please gently click on the "Finish" button in Figure 9. Thus, the SDK Manager is running for the first time, and it needs to download the descriptive narrative of the SDK online, please be patient and wait a moment. 10 What you see:
Figure ten SDK Manager first launch
After the SDK Manager updates the Online SDK description, the SDK and the tools that are available for download are listed. 11 What you see:
Figure One SDK list
Assuming your computer space is not a problem, you can choose all the SDKs and tools. Suppose you want to define yourself, then go ahead and watch. Assuming that you might find a disadvantage in development, you can also open the SDK Manager to install it. 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 Androi D SDK Recommendation Choose a No, Sources for the Android SDK also recommends selecting one, and the Samples for SDK also recommends selecting one. In addition, the following API 10 please do not choose, Qt does not support.
Select the version number of the SDK you want to install, click on the "Install Packages" button in the lower right corner of Figure 11 to enter the license Agreement interface. 12 What you see:
Figure SDK License Agreement
The license agreement must be accepted or nothing can be installed. Then click on "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). The installation process 13 sees:
Figure SDK Manager Download and install the selected package
The installation process is relatively slow, there may be some situation in the middle, pop-up box to tell you that a package download timeout or failure, do not respond to it, turn off. Wait until the installation is finished, you can see similar figure 14 See the interface, successfully installed, the status of the column will become installed, the picture box out.
Figure SDK Successfully installed
The Android SDK has the ADB tool, where 15 sees:
Figure of the ADB location
Add the ADB directory "D:\Android\android-sdk\platform-tools" to the system environment variable Path. Open the command line form, enter "adb version", and return, you should see Figure 16:
Figure ADB Installation Verification
Well, maybe you can use the ADB to view the logs or log on to the phone to see something.
To this end, the Android SDK installation configuration is complete.
Copyright all, reprint please specify Source: Http://blog.csdn.net/foruok
Links to my other articles:
- Qt on Android: text-specific explanation 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 announced 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 Cproject
- Windows under Qt for Android compiled Android C language can run program