After I update the target Android SDK from 30.0.3 to 31.0.0 I started to have these 2 warnings :
This version only understands SDK XML versions up to 2 but an SDK XML file of version 3 was encountered. This can happen if you use versions of Android Studio and the command-line tools that were released at different times.
Warning: unexpected element (uri:"", local:"base-extension"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level>
I tried to update all the libraries but it didn't help. Anyone had this warning ?