tse tse - 1 year ago 572
Android Question

DataBindingUtil.setContentView - Type parameter T has incompatible upper bounds

"Android Studio" shows error message "Type parameter T has incompatible upper bounds: ViewDataBinding and ActivityChecklistsBinding.

ActivityChecklistsBinding binding = DataBindingUtil.setContentView(this, R.layout.activity_checklists);

Before update the ADK it works fine. Is there any ideas what wrong?

Answer Source

I had the same problem. I tried a couple of things, Clean and Rebuild project.

But, It worked after I choose File -> Invalidate Caches / Restart

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download