构建Android应用时,ANTLR版本不匹配

时间:2019-05-21 06:22:53

标签: android antlr antlr4

我正在尝试构建android应用程序,但开始遇到如下构建问题:

ANTLR Tool version 4.5.3 used for code generation does not match the current runtime version 4.7.1ANTLR Runtime version 4.5.3 used for parser compilation does not match the current runtime version 4.7.1ANTLR Tool version 4.5.3 used for code generation does not match the current runtime version 4.7.1ANTLR Runtime version 4.5.3 used for parser compilation does not match the current runtime version 4.7.1C:\Users\ibase\AndroidProjects\serviceidol\app\build\generated\data_binding_base_class_source_out\debug\dataBindingGenBaseClassesDebug\out\com\serviceidol\app\databinding\ActivityLoginBinding.java:17: error: cannot find symbol

import androidx.databinding.DataBindingComponent;

  symbol:   class DataBindingComponent
  location: package androidx.databinding
 C:\Users\ibase\AndroidProjects\serviceidol\app\build\generated\data_binding_base_class_source_out\debug\dataBindingGenBaseClassesDebug\out\com\serviceidol\app\databinding\ActivityLoginBinding.java:62: error: cannot find symbol
protected ActivityLoginBinding(DataBindingComponent _bindingComponent, View _root,

所有具有数据绑定的布局都存在类似的问题,任何建议或解决方案都将非常有价值。

0 个答案:

没有答案