Skip to content
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

Errors swallowed by Android Studio with androidx and databinding #700

Open
giniedp opened this issue Feb 12, 2019 · 1 comment
Open

Errors swallowed by Android Studio with androidx and databinding #700

giniedp opened this issue Feb 12, 2019 · 1 comment

Comments

@giniedp
Copy link

giniedp commented Feb 12, 2019

Not sure where to file this issue but i thought to start here.

Using Android Studio 3.3.1 with androidx, databinding enabled, AutoValue and Glide i faced the Error

cannot find symbol DataBindingComponent

it was all over the place of all generated databinding classes. Also there were Glide errors but i was already used to know that they are always present, if the project does not compile. However, there were no AutoValue errors present.

Now if i declare an empty interface for the DataBindingComponent to make the data binding compiler happy the root error from AutoValue gets revealed

error: Parameter type java.lang.Boolean of setter method should be boolean to match getter

fixing that and then removing the dummy interface i am happy to be able to compile the project again. The sad thing is, whenever i introduce an AutoValue error i have to repeat the process.

@pmouraac
Copy link

I am also facing problems with AndroidX + DataBinding + AutoValue (v1.6.2).

"cannot find symbol DataBindingComponent"

It just works with AutoValue until 1.5.6 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants