Ultimateandroid Rapid Development Framework Tutorial (I): Deployment framework
In order to facilitate the better use of ultimateandroid for Android Rapid development, special writing this tutorial. Improper, but also please give a lot of advice.
Since there are so many people using Eclipse and IntelliJ idea (Android Studio) as a development tool, they are described for both development environments for ease of deployment.
Project address is https://github.com/cymcsg/UltimateAndroid, if in doubt can directly on GitHub issue, or join QQ Group discussion: 341970175, Dabigatran please specify Android development
Precautions:
1.jdk,android SDK Configuration is complete, JDK recommendation is JDK1.7 version, otherwise you need to modify the project language version;
2. The operating system environment for this tutorial is OS X 10.9,ide environment Eclipse4.4,intellij idea 13.1,android SDK for 4.4.2 and 23.0,android Studio is derived from the Intellij Foundation, Configuration methods are similar.
3. Since I use IntelliJ idea, the tutorial will basically be a sample IntelliJ the idea environment.
One, Eclipse Environment:
1. Under the command line git clone https://github.com/cymcsg/UltimateAndroid.git or download the zip package directly, and unzip.
2. AppCompatin the directory,ultimateandroid two directories imported, if you need to see the UI demo import Demoofui, if you need to see the project demo import Demo.
3. Bring the jar package for the Libs directory under each project to the project dependencies and set it to export (which is automatically configured in the latest version Sdk+adt) and add ultimateandroid dependencies and AppCompat, Demoofui depends on the ultimateandroid, if the project has an error, pay attention to see if the version of the JRE is not modified to 1.7.
4. Right-click the project, select Annotation processingunder Java Compiler , turn on Annotation processing and add the Butterknife jar package. (All projects using view injection need to be set up, so Demoofui and demo will need to be set up in addition to ultimateandroid).
5. You can then run the Demoofui or demo.
Second, the Intellij idea (Android Studio) environment
1. Under the command line git clone https://github.com/cymcsg/UltimateAndroid.git or download the zip package directly, and unzip.
2. AppCompatin the directory,ultimateandroid two directories imported, if you need to see the UI demo import Demoofui, if you need to see the project demo import Demo.
3. Bring the jar package of the Libs directory under each project to the project dependencies and set it to export, and add ultimateandroid dependency and Appcompat,demoofui dependent on ultimateandroid, if the project has an error, Check to see if you haven't modified the JRE version to 1.7.
4. Click preference-compiler-annotation Processorsto open the Annotation processing(all use view Injection items need to be set up, so besides Ultimateandroid, Demoofui and demo also need to be set up)
5. You can then run the Demoofui or demo.
Rapid development Using Ultimateandroid (i): Configuration Chapter