ERROR
cvc-complex-type.2.4.a: Invalid content was found starting with element 'base-extension'. One of '{layoutlib}'
解决方法:配置gradle和gradle plugin版本与原项目一致, 这之后android studio会提示AGP版本不匹配,并自动提供两个解决办法,升级AGP / 升级gradle, 点击升级gradle
ERROR
cvc-complex-type.2.4.a: Invalid content was found starting with element 'base-extension'. One of '{layoutlib}'
解决方法:配置gradle和gradle plugin版本与原项目一致, 这之后android studio会提示AGP版本不匹配,并自动提供两个解决办法,升级AGP / 升级gradle, 点击升级gradle