android-jack-and-jill

New Jack toolchain crashes when using android-apt plugin

喜夏-厌秋 提交于 2019-11-29 02:36:42
问题 I'm trying to build a simple project with the new Jack toolchain. My project relies on android-apt plugin (it uses some annotation processing tool, but build error occures, even before I tried to add this tool). Here is my module build script (I'm using Android Studio 1.3 and gradle plugin 1.3.0 ): apply plugin: 'com.android.application' buildscript { repositories { jcenter() } dependencies { classpath 'com.neenbedankt.gradle.plugins:android-apt:1.6' } } apply plugin: 'android-apt' android {

How to speed up Android Studio compilation process

≡放荡痞女 提交于 2019-11-28 16:06:20
Latest update: Check out Android Studio 2.0 (preview) Instant Run it is awesome!!!! I have found some tips ( Building and running app via Gradle and Android Studio is slower than via Eclipse ) to speed up the compilation process of Android Studio (Gradle) but I still think it is way too slow. It takes about 15 seconds to compile the project and run on the device. The gradle.properties is already set to: org.gradle.daemon=true org.gradle.parallel=true Edit: Awesome!!! Colleague of me reported that Jack and Jill might be the solution: http://www.infoworld.com/article/2856113/mobile-technology

Android N Java 8 features (Jack compiler) and Kotlin interop

拜拜、爱过 提交于 2019-11-28 14:59:24
问题 Update 3. KOTLIN IS NOW OFFICIALLY SUPPORTED FOR ANDROID DEVELOPMENT. BY GOOGLE. YAAAAAAAAS! Update 2 : It looks like JetBrains is really committed to supporting Kotlin for Android in the long run. I'm a happy kotlin user :). Update : Hadi Hariri, from JetBrains, mentioned they're going to release some info on this topic. I will update this post once they do. === DEPRECATED STUFF NEXT === Google just released a preview for the upcoming Android N with some interesting features, the most

Disabling JACK in android compilation

帅比萌擦擦* 提交于 2019-11-28 05:26:21
问题 Does anybody know how to completely disable jack while compiling AOSP (Master)? I've always had problems with jack , so I've just always turned it off by adding ANDROID_COMPILE_WITH_JACK := false in BoardConfig.mk (when compiling CyanogenMod). I'm now compiling aosp and it just seems to ignore this command. Note: I'm not really trying to solve any jack related issues I have, I'm trying to turn it off. 回答1: I would recommend to use AOSP tag to build instead of master branch. For example,

How to speed up Android Studio compilation process

社会主义新天地 提交于 2019-11-27 09:32:06
问题 Latest update: Check out Android Studio 2.0 (preview) Instant Run it is awesome!!!! I have found some tips (Building and running app via Gradle and Android Studio is slower than via Eclipse) to speed up the compilation process of Android Studio (Gradle) but I still think it is way too slow. It takes about 15 seconds to compile the project and run on the device. The gradle.properties is already set to: org.gradle.daemon=true org.gradle.parallel=true Edit: Awesome!!! Colleague of me reported

How to perform minification and obfuscation with the JACK compiler?

耗尽温柔 提交于 2019-11-27 04:57:24
Google has released a test version of their new JACK compiler for Android developers with Android Studio 2.1. My question is, how do we enable obfuscation for the APK with JACK? The article below says that JACK performs obfuscation natively and eliminates the need for Proguard: Compiling with Jack Whereas the following article says that JACK makes use of Proguard configuration files (i.e. the .pro file) for performing obfuscation: Experimental New Android Tool Chain - Jack and Jill . It also says that During this process Jack also handles any requested code minification (shrinking and/or

How to perform minification and obfuscation with the JACK compiler?

瘦欲@ 提交于 2019-11-26 11:24:19
问题 Google has released a test version of their new JACK compiler for Android developers with Android Studio 2.1. My question is, how do we enable obfuscation for the APK with JACK? The article below says that JACK performs obfuscation natively and eliminates the need for Proguard: Compiling with Jack Whereas the following article says that JACK makes use of Proguard configuration files (i.e. the .pro file) for performing obfuscation: Experimental New Android Tool Chain - Jack and Jill. It also