Closed etenel closed 5 years ago
依赖这个库和那个adapter的库都会报错,去掉就好了。项目使用到databinding了。 这是错误信息。 Android\app\build\generated\source\apt\debug\android\databinding\DataBinderMapperImpl.java:7: 错误: 找不到符号 addMapper(new cn.bingoogolapple.photopicker.DataBinderMapperImpl()); ^ 符号: 类 DataBinderMapperImpl 位置: 程序包 cn.bingoogolapple.photopicker 这是那个类 public class DataBinderMapperImpl extends MergedDataBinderMapper { DataBinderMapperImpl() { addMapper(newDataBinderMapperImpl()); addMapper(new com.android.databinding.library.baseAdapters.DataBinderMapperImpl()); addMapper(new cn.bingoogolapple.baseadapter.DataBinderMapperImpl()); addMapper(new cn.bingoogolapple.photopicker.DataBinderMapperImpl()); } }
依赖这个库和那个adapter的库都会报错,去掉就好了。项目使用到databinding了。 这是错误信息。 Android\app\build\generated\source\apt\debug\android\databinding\DataBinderMapperImpl.java:7: 错误: 找不到符号 addMapper(new cn.bingoogolapple.photopicker.DataBinderMapperImpl()); ^ 符号: 类 DataBinderMapperImpl 位置: 程序包 cn.bingoogolapple.photopicker 这是那个类 public class DataBinderMapperImpl extends MergedDataBinderMapper { DataBinderMapperImpl() { addMapper(newDataBinderMapperImpl()); addMapper(new com.android.databinding.library.baseAdapters.DataBinderMapperImpl()); addMapper(new cn.bingoogolapple.baseadapter.DataBinderMapperImpl()); addMapper(new cn.bingoogolapple.photopicker.DataBinderMapperImpl()); } }