Git address: Https://github.com/alibaba/freeline Originally compiled a few minutes or even a few 10 minutes of Android project, the use of freeline,1 minutes or even a few seconds to compile, such as, only 4.2 seconds, compile it's so fast!
Once the Gradle file is configured, the Freeline related package is automatically downloaded from the Web. Once downloaded, add Freelinecore.init (this) to the Ctripbaseapplication.java file. You will then need to run the cmd command under the project (shift+ right) to open the cmd command under the current folder and try it only on the cmd command line to execute the command. Execution: Gradlew.bat Initfreeline The first time you run or uninstall the app on your phone, you need to execute the command: Python freeline.py-f executes the command every time after it is executed: python freeline.py changed content: only need to input when submitting: Git add cttour/. Other Commitctripbaseapplication.java do not need to change the Gradle file: 1, three changes to modify the content: 1, 9 lines to unlock the comments: Jcenter ()//This is the default library, access difficulties 2, 20 line Add statement classpath ' com.antfortune.freeline:gradle:0.5.5 ' 3, 28 lines add: Jcenter () 2, 2 Modify the modified content: 8 line add: Apply plugin: ' Com.antfortune.freeline ' 17 line add: freeline {hack true} 3, 1 Modify 33 lines add: Compile ' com.antfortune.freeline:runtime:0.5.5 '
Android Engineering uses Ali's freeline to quickly compile