错误:数据绑定不支持杰克构建 [英] Error:Data Binding does not support Jack builds yet
问题描述
我正在实现 DataBinding
,它是完美的,但不允许我使用 jackOptions
。它引发错误数据绑定不支持杰克构建,而构建。
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.
这是我的 build.gradle
android {
defaultConfig {
...
dataBinding {
enabled true
}
jackOptions {
enabled true
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
推荐答案
从yigit的评论可以看出,这个功能还在开发当中,他和George是项目成员DataBinding。
From yigit's comment it's clear that this functionality is still under development as he and George are project member of DataBinding.
我们正在处理... yigit
我还发现问题已经报告了问题210615:使用杰克编译器进行数据绑定
I have also found that issue is already reported Issue 210615: Databinding with Jack compiler
更新
一个href =https://code.google.com/p/android/issues/detail?id=210615#c13 =noreferrer> 2.3将允许您使用数据绑定与插孔,但仍然有限制
2.3 will allow you to use data binding with jack but it still has limitations
这篇关于错误:数据绑定不支持杰克构建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!