android-jack-and-jill

Error:Data Binding does not support Jack builds yet

谁说我不能喝 提交于 2019-12-30 08:05:31
问题 I am implementing DataBinding , it is working perfect, but it is not allowing me to use jackOptions . It throws error Data Binding does not support Jack builds yet while build. Here is my build.gradle android { defaultConfig { ... dataBinding { enabled true } jackOptions { enabled true } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } 回答1: From yigit's comment it's clear that this functionality is still under development as he and

Jack compilation stuck with AndroidStudio 2.3

好久不见. 提交于 2019-12-24 07:39:45
问题 I have upgraded my AndroidStudio today to latest stable version 2.3 (with gradle plugin 2.3.0 and gradle 3.3): now, I am not able to build my project which ran fine under AndroidStudio 2.2.3. When I try, I am stuck at :app:transformJackWithJackForDebug as long as I don't kill my java platform process. It is the same problem than this post I guess but on stable release. Any help will be greatly appreciated :) 回答1: I killed many hours for the same issues after that i got link and its working

where is the proguard mappings.txt file generated when using JACK?

拜拜、爱过 提交于 2019-12-24 03:27:53
问题 I have been trying to use the latest JACK and JILL build system to for my android project. I know that JACK process includes the proguard processing. But after that i couldn't locate the mappings.txt file for back-tracking stack-trace of bugs provided on google play developer console. Please help me LOCATE mappings.txt . Another related question is if the shrinkingResources still works while JACK because shrinkingResources requires minifyEnabled true but JACK requires minifyEnabled false .

Jack compiling taking forever

主宰稳场 提交于 2019-12-23 06:52:08
问题 After upgrading my project to enable Jack and Java8 features, my 16gb macbook can't seem to build my project anymore. I see the memory usage getting higher and higher but the process gets stuck at the same point always. My Gradle console: Executing tasks: [:app:assembleDebug] Configuration on demand is an incubating feature. Incremental java compilation is an incubating feature. :app:preBuild UP-TO-DATE :app:preDebugBuild UP-TO-DATE :app:compileDebugNdk UP-TO-DATE :app:checkDebugManifest :app

Jack and Android - Lambda runtime failure until clean build

荒凉一梦 提交于 2019-12-20 11:53:09
问题 Seemingly at random, the apk that Android Studio installs is corrupted. It usually centers around lambdas (but it's a different one every time). I'm using Jack compilation and the latest version of everything (listed at the end). The problem persists until I do a clean build (and then everything's fine). The intermittent failures are a new phenomena. Things were stable with Jack and Java 8 features for awhile. Unfortunately, I can't pinpoint what changed before the flaky failures began.

Android Studio 2.2 and Jack are getting blocked by Avira Antivirus

南笙酒味 提交于 2019-12-18 07:34:14
问题 So I update my project to use the new jack compiler, but for some unknown reason my AntiVir blocks the task transformClassesWithPreJackPackagedLibrariesForDebug It works if I disable AntiVir real-time protection. I really don't want to do that and I don't want to start putting my android project in the exception list. I am using Android Studio 2.2 and this is my build.gradle android { compileSdkVersion 24 buildToolsVersion "24.0.2" defaultConfig { minSdkVersion 21 targetSdkVersion 24

Android studio error when add java8 support

纵然是瞬间 提交于 2019-12-13 12:53:16
问题 what's wrong with my Android Studio or my config? Error:(22, 0) Could not find method jackOptions() for arguments [build_1b0umrzpkhcolzr325bxbizec$_run_closure1$_closure5@41c39fc1] on project ':app' of type org.gradle.api.Project. and this is my build.gradle android { compileSdkVersion 23 buildToolsVersion "23.0.3" defaultConfig { applicationId "com.twtstudio.wepeiyanglite" minSdkVersion 14 targetSdkVersion 23 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test

Android jack and jill get stuck

耗尽温柔 提交于 2019-12-12 10:48:24
问题 I am trying to use Jack-Jill and Java8 for my Android app. Everything is good on my laptop but when I tried to run the project on CircleCI it's getting stuck on transformClassesWithPreJackPackagedLibrariesForDebug Here is my build.gradle apply plugin: 'com.android.application' apply plugin: 'io.fabric' apply from: 'test-environment.gradle' buildscript { repositories { maven { url 'https://maven.fabric.io/public' } } dependencies { classpath 'io.fabric.tools:gradle:1.+' } } repositories {

Build errors when switching from buildToolsVersion '24.0.2' to anything higher

為{幸葍}努か 提交于 2019-12-11 03:26:27
问题 Build fails when switching to buildTooolsVersion 24.0.3 or higher with error messages relating to Default methods and Static methods "not supported in Android API level less than 24" Works fine in previous versions of Build Tools, up to 24.0.2 I am using Jack, and Google play-services. However, the complaints are about code in java.util and java.lang For example: Error:SortedSet.java:36-37: Default method java.util.Spliterator spliterator() not supported in Android API level less than 24.0.2

Is Androids new Jack compiler really that slow?

喜夏-厌秋 提交于 2019-12-07 15:37:47
问题 On some of my Android projects I see that building got quite slow since using the new Jack compiler. I need it to use Java 8 features like lambdas. But the long building time is a bit disturbing. So I set up a new Android project. It contains just a MainActivity with one button which reacts on your click. package de.xappo.myapplication; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.Toast