Google has officially released Jack & Jill as mentioned on their blog .
But if I use the following property :
defaultConfig {
applicationId 'xxx'
minSdkVersion 10
targetSdkVersion 19
versionCode 162
versionName 'xxx'
// Enabling multidex support.
multiDexEnabled true
testInstrumentationRunner "android.support.multidex.MultiDexTestRunner"
manifestPlaceholders = [ cappId:"xxx",cappLog:"false" ]
useJack = true
}
I get the following error
Error:Cannot get property 'destinationDir' on null object
I have no problem if I comment use Jack property
I know it's an experimental tool but do you know how can I fix that ?
Are you using retro-lambda, dagger2 or any other annotation processing library? In that case you need to manually specify the processor.
See this thread: https://github.com/evant/gradle-retrolambda/issues/71