【问题标题】:Jack and Jill and destinationDir杰克和吉尔以及destinationDir
【发布时间】:2014-12-12 14:09:50
【问题描述】:

Google 已正式发布 Jack & Jill,正如他们的 blog 中所述。

但如果我使用以下属性:

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
}

我收到以下错误

Error:Cannot get property 'destinationDir' on null object

如果我评论使用 Jack 属性,我没有问题

我知道这是一个实验性工具,但你知道我该如何解决吗?

【问题讨论】:

  • 你找到解决方案了吗...
  • 我暂时禁用了它
  • 你做得怎么样,请你发一些帖子
  • 就像我在帖子中所说的:I have no problem if i comment useJack property
  • 哦,好的,谢谢您的建议

标签: android-jack-and-jill


【解决方案1】:

您是否在使用 retro-lambda、dagger2 或任何其他注释处理库?在这种情况下,您需要手动指定处理器。

看到这个帖子:https://github.com/evant/gradle-retrolambda/issues/71

【讨论】:

  • 你能提供一些细节吗
  • 嗨@MinaFawzy,像这样:bitbucket.org/hvisser/… 无保证 ;)
  • 这并不能真正回答问题
猜你喜欢
  • 2017-01-30
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2012-05-12
相关资源
最近更新 更多