If your gradle version is ok (1.5+) then you should try this:
- Go to your “some_layout.xml”
- Click right -> Refactor -> Rename (or SHIFT + F6)
- Rename your layout to “some_layout2.xml” for example
- Rename this file back to the original “some_layout.xml”
This might fix the problem. Let us know.
Related Contents:
- Data Binding class not generated
- I want to concat two strings for a TextView in android, Data Binding Api
- Android : Difference between DataBinding and ViewBinding
- What are the pros and cons of android data-binding?
- How to use data-binding in Dialog?
- Android Data Binding @BindingConversion failure for int to string
- Can’t resolve Android databinding class
- Using DataBinding library for binding events
- data binding – safeUnbox warning
- How to use data-binding with Fragment
- DSL element ‘android.dataBinding.enabled’ is obsolete and has been replaced with ‘android.buildFeatures.dataBinding’
- How do I use databinding to combine a string from resources with a dynamic variable in XML?
- Android Data Binding using include tag
- android databinding using “&&” logical operator
- Use data binding to set View visibility
- Set drawable resource ID in android:src for ImageView using data binding in Android
- How to use Data Binding and Kotlin in Android Studio 3.0.0
- Cannot find symbol DataBindingComponent on Android Studio 3.2 Canary 16 Kotlin project
- How should I get Resources(R.string) in viewModel in Android (MVVM and databinding)
- How to set Image resource to ImageView using DataBinding [duplicate]
- android: data binding error: cannot find symbol class
- android data binding with a custom view
- Android – DataBinding – How and when the Binding classes will be generated?
- Android DataBinding Custom Binding Adapter Warning
- ANTLR Tool version 4.5.3 used for code generation does not match the current runtime version 4.7.1
- Android Data Binding: visibility on include tag
- Data Binding with srcCompat
- Use DataBinding library to set background color resource or null
- Data binding expression not compiling
- DataBinding: How to get resource by dynamic id?
- How to databind to onTextChanged for an EditText on Android?
- Data binding: set property if it isn’t null
- Android DataBinding where to get context?
- Glide showing error: Failed to find GeneratedAppGlideModule
- Android + Data Binding @style
- Set text color using data binding on Android
- Best practice for Android MVVM startActivity
- Create two-way binding with Android Data Binding
- Android two way binding with Integer type causes databinding does not exist
- cannot find symbol BR in android data binding
- Referencing a string in a string array resource with xml
- ADB No Devices Found
- How can I return to a parent activity correctly?
- Why does ContentResolver.requestSync not trigger a sync?
- What is default color for text in textview?
- Android – How to detect if night mode is on when using AppCompatDelegate.MODE_NIGHT_AUTO
- Android: How to auto-restart an application after it has been “force closed”?
- Android WorkManager vs JobScheduler
- getIntent() Extras always NULL
- ListView and Buttons inside ListView