Version Egret-android-support-gradle

Source: Internet
Author: User

  GRadle is not introduced, direct link to see it

You've played native compile all know that the official Android project template is eclipse, although it can be imported into IntelliJ idea, but the way to build is android.mk way.
and accustomed to gradle construction method of the author, the ANDROID.MK project is really awkward, so I converted the Eclipse project template into a Gradle build project template, can be directly opened with IntelliJ idea or Android studio.
Templates and tools here: Android-support-gradle-1.6.2.zip

1. The tools directory in the compact package is a modification to Egret tools, overwriting the directory egret\egretengine\win\egret\tools\ directory.

File directory Comparison

2. The egret-android-support-gradle-1.6.2.zip in the compressed package is the template file, using the same way as the official.

3. Order through, then open Android project with IntelliJ idea or Android studio

4. When opened, Gradle will be built automatically and may take some time. If prompted: The Android SDK cannot be found, please modify the local.properties file

5. Modify Sdk.dir for your Android SDK directory, then click Try again to build the project again

6. Then directly run or debug, you can run the

Experience

In fact, the author asked the official people, but they did not talk to the author, and then the author also looked up some information to get successful, in order to later projects can be built with gradle, so do this template, during the secret you find it yourself.

Now it's super convenient to pick up the SDK from AdMob, Facebook and more, just add dependencies.

If Egret updates the support file, I will update the Gradle version immediately. Reprint please specify the original address: http://www.cnblogs.com/rockyf/p/egret-android-support-gradle.html

Version Egret-android-support-gradle

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.