Questions tagged [android-jack-and-jill]

The Jack toolchain is deprecated. Jack and Jill was an experimental android build tool chain intended to add Java 8 features to Android. These tools created dex files directly from java source code, thus skipping dexing and proguarding steps.

From: http://tools.android.com/tech-docs/jackandjill

The Jack toolchain is deprecated, as per this announcement. However, you may continue to use it to enable Java 8 language features until the replacement becomes available.

Jack is an experimental Android toolchain that comprises a compiler from Java programming language source to the Android dex file format. Jack has its own .jack library format and provides most tool chain features as part of a single tool: repackaging, shrinking, obfuscation and multidex. Jill is a tool that translates existing .jar files to the .jack library format.

More information can be found on the official tech-docs.

65 questions
0
votes
1 answer

android jack server error

I am triying to build AOSP Android nougat rom by using JACK SERVER 3 warnings [ 34% 16872/49032] host Java: bouncyca...tle-bcpkix- host_intermediates/classes) warning: [options] bootstrap class path not set in conjunction with - source 1.7 Note:…
Mohd Faraz
  • 11
  • 1
  • 4
0
votes
0 answers

Android - I dont manage to activate Jack & Jill

In my Android project I need to use a dependency that requires java 8 so i'm trying to use jack { ... jackOptions { enabled true } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility…
Johny19
  • 5,364
  • 14
  • 61
  • 99
0
votes
2 answers

How to resolve locale issue with `jack.import.type.policy`?

I am building an app which must use Java 8 libraries. To enable source compatibility I added following to app's build.gradle: compileSdkVersion 23 buildToolsVersion "25.0.0" defaultConfig { applicationId "SOME_APP" minSdkVersion 15 …
0
votes
1 answer

Butterknife is not initializing views in AOSP marshmallow but works fine in lollipop

I am using butterknife library in my project. It works fine in when I build in Lollipop AOSP but the same code initializes nothing and so after that NPE is thrown in Marshmallow AOSP. Here is the code: public class ErrorLayoutViewHolder extends…
-1
votes
1 answer

Jack and Jill minify equivalent

Recently I've decided to migrate my android project to Jack and Jill build chain. But now I'm facing multi-dex problem that was not present in the previous build chain, so my questions arise. What is the equivalent of "minifyEnabled true" when…
Jan Stoltman
  • 394
  • 3
  • 15
1 2 3 4
5