DataBinding not working after Upgrade Android Studio 2.3

后端 未结 7 1400
挽巷
挽巷 2021-02-05 10:47

DataBinding worked very well in my project, But after upgrade Android Studio 2.3 today . Run \'app\' failed because following error :

Error:(1         


        
7条回答
  •  甜味超标
    2021-02-05 11:03

    I too recently downloaded the latest version of android studio 2.3.3, because I was getting the same error in version 2.2.3 i.e Error:Failed to resolve: com.android.databinding:compiler:2.2.3 ,even in the latest version, I was getting the same error,I checked the project structure, In the File>Project Structure>Project , the Android Plugin version was still 2.2.3, I changed it to 2.3.3 and the build is successful and everything is working smoothly.

提交回复
热议问题