After announcement of Android N, Google officially launching Jack toolchain with Android Studios 2.1.
The main advantages of Jack (due to this page) are:
Completely open source
Available in AOSP; partners are welcome to contribute.
Speeds compilation time
Jack has specific supports to reduce compilation time: pre-dexing, incremental compilation and a Jack compilation server.
Handles shrinking, obfuscation, repackaging and multidex
Using a separate package such as ProGuard is no longer necessary.
But annotation processing, code weaving (e.g. aspectj) , bytecode manipulation are not supported (which are really important for me).
Also speeds compilation time was not sensible for me, I created a sample project with a little bunch of dependencies and in both jack and default compiler, the compile and build time was less than 10-15 seconds.
So Why do I migrate to Jack?
We're talking about a full-sized bathroom located between two bedrooms that's accessible by both – meaning the bathroom has at least two doors. Think of it as an ensuite for two bedrooms instead of one!
The Jack and Jill Bathroom layout has become one of the most popular bath designs for house plans, and here's what you need to know. The definition of a jack and jill bath is simple. Its a bathroom design layout that allows access to a common bathroom area from two separate bedrooms.
One way of making a Jack-and-Jill bathroom even easier to share is to put the toilet behind a door, in a space that's now called a water closet. This configuration provides privacy for the person using the toilet but allows someone else access to the sink area.
A Jack and Jill Bathroom is a bathroom that has two doors and is usually accessible from two bedrooms.
Now with Android Gradle Plugin version 2.2.0-alpha1 or higher, annotation processing is supported by default.
Also due to this issue transform API, which is useful for bytecode weaving, will be supported later.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With