Android Frame Androidannotations Combat

Source: Internet
Author: User

The first step:

Download Androidannotations-bundle-3.3.2.zip

Second not:

The landlord chooses the development environment: Android Studio

Build.gradle under the new Project Modification app

Corresponds to the Gradle option

      

  

Apply plugin: ' com.android.application ' Apply plugin: ' android-apt ' def aaversion = ' 3.3.2 ' Buildscript {repositories { Mavencentral ()} dependencies {//Replace with the current version of the Android plugin CLASSP Ath ' com.android.tools.build:gradle:1.2.3 '//Replace with the current version of the ANDROID-APT plugin CLA    Sspath ' com.neenbedankt.gradle.plugins:android-apt:1.4 '}}repositories {mavencentral () mavenLocal ()}android {        Compilesdkversion buildtoolsversion "23.0.0 RC2" Defaultconfig {ApplicationID "com.androidannotations"        Minsdkversion targetsdkversion Versioncode 1 Versionname "1.0"} buildtypes { Release {minifyenabled false proguardfiles getdefaultproguardfile (' proguard-android.txt '), ' Progu Ard-rules.pro '}}}dependencies {compile filetree (dir: ' Libs ', include: [' *.jar ']) compile ' Com.android.s upport:appcompat-v7:22.2.0 ' apt ' org.androidannotations:androidannotations: $AAVersion "Compile" org.androidannotations: Androidannotations-api: $AAVersion "}apt {arguments {androidmanifestfile Variant.outputs[0].processresources.man Ifestfile//If you have a multiple outputs (when using splits), your may want to has the other index than 0/yo u should set your package name here if you are using different application IDs//Resourcepackagename "Your.package  . Name "//can set optional annotation processing options here, like these commented options://LogLevel ' INFO '//LogFile '/var/log/aa.log '}}

  

Android Frame Androidannotations Combat

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.