简体   繁体   中英

Data Binding features not showing in Android Studio Electric Eel | 2022.1.1

I am trying all these methods in the latest android studio Electric Eel | 2022.1.1, but the build feature, data binding, and view Binding options are not showing before and after adding this annotationProcessor 'com.android.databinding:compiler:3.5.1 dependency.

I have tried using different dependencies, but the IntelliSense window for view Binding, data Binding, or buildFeature{ } options not showing. I need help regarding this issue. Thanks in Advance. 在此处输入图像描述

you can add viewbinding and databinding to your gradle file like this:

buildFeatures {
    dataBinding true
    viewBinding true
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM