-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DataBinderMapperImpl() is not generated #72
Comments
I have a similar problem |
Hi, do you have a setting like |
yes, I have Daba Binding Compiler v2 enabled as you mentioned and I!m also using |
I'm getting this issue as well after enabling |
Hey y'all, We were finally able to reproduce this issue. WIll begin working on a fix - just wanted to keep you updated. |
Alright @novotnyfra, @rav3n, @MrRexZ, I was able to chase this issue down to one of our internal dependencies for braintree_android, specifically our visa checkout dependency, which uses data binding. The issue with databinding v2 is described at a high level in the Android Developer docs. Specifically, this note:
Because we're building our visa-checkout module with gradle plugin version 3.1, apps that are enabling databinding v2 will not be able to compile any package that pulls in Our recommendation for the time being is to use the workaround described above until version 3.2 of the android gradle plugin is released, at which time we can upgrade our visa checkout library to ensure full backwards compatibility. We can't release a new version in the interim as it may cause undesirable downstream effects for folks using this library. I'm going to close this issue in favor of this issue in Thanks for your patience! |
Hey @novotnyfra, @rav3n, @MrRexZ, Quick update for y'all. @lkorth mentioned to me this morning that there's a workaround for this issue if you're using Braintree 2.12 or above. Just change your dependency in your implementation('com.braintreepayments.api:braintree:2.13.0') {
exclude group: 'com.braintreepayments.api', module: 'visa-checkout'
} And it will compile for you. The obvious exception is if you're using VisaCheckout, in which case you'll need to wait for the fix in the above tagged issue. Let me know if that works for you! |
General information
Issue description
com.braintreepayments.api.DataBinderMapperImpl() is not generated when using Data Binding Compiler V2.
Error:
error: cannot find symbol addMapper(new com.braintreepayments.api.DataBinderMapperImpl()); symbol: class DataBinderMapperImpl location: package com.braintreepayments.api
The text was updated successfully, but these errors were encountered: