Qt5.4.1 Configuring the Android development environment in Windows7

Source: Internet
Author: User


Online saying some time is relatively old, software updates and fast, configuration on the road there are always some bumpy.

I tried it myself and recorded it.


Required Software:

1. Qt-opensource-windows-x86-android-5.4.1.exe

(Need to install, follow the installation steps can be, I installed in D:\Qt\Qt5.4.1)

2. Jdk-7u6-windows-i586.exe

(Need to install, follow the installation steps, I installed in D:\Program Files (x86) \java\jdk1.7.0_06)

3. Adt-bundle-windows-x86-20131030.zip

(Here is the other article said Android-sdk, decompression can, I decompression in E:\QT_Android\adt-bundle-windows-x86-20131030)

4. Android-ndk-r8d-windows.zip

(Unzip can, I unzip in E:\QT_Android\android-ndk-r8d)

5. Apache-ant-1.9.4-bin.zip

(Unzip can, I unzip in E:\QT_Android\apache-ant-1.9.4)


After installing the above software, configure the environment variables:

Will

D:\Program Files (x86) \java\jdk1.7.0_06

E:\QT_Android\adt-bundle-windows-x86-20131030\sdk\platform-tools

E:\QT_Android\apache-ant-1.9.4\bin

These three paths are added to the PATH environment variable;


Configure QT, tools, options

Android SDK Path E:\QT_ANDROID\ADT-BUNDLE-WINDOWS-X86-20131030\SDK

Android NDK Path E:\QT_Android\android-ndk-r8d


Since then, it has been possible to develop Android with Qt. Select armeabi-v7a when creating a project


Note: With eclipse in Adt-bundle-windows-x86-20131030.zip, I only need to use the SDK inside it, because before a android_sdk_ Windows.zip, after decompression found that there is no platform-tools, but also to install, but also to install the API and other related content. Do not know whether the speed is not power or Google restrictions, has been updated download unsuccessful.

Adt-bundle-windows-x86-20131030.zip to use, no download, there is platform-tools and API. can be used directly!


Qt5.4.1 Configuring the Android development environment in Windows7

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.