当我试图在一个自托管的ubuntu代理中运行android应用程序时,我得到了下面的错误。是否因为Android不在Ubuntu代理中而导致此错误?如果是的话,有什么解决办法吗?' is obsolete and has been replaced with 'android.buildFeatures.dataBinding'.
2022-07-28T23:36:33.1834823ZIt will be removed in version 5.0 of the Android Gradl
SDK路径应该已经在Docker镜像中使用ENV ANDROID_HOME "/sdk"进行了定义,但是GitLab显示了这个错误:java.lang.RuntimeException: SDK locationDefine location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable,所以我修改了我的.gitlab-ci.yml文件,如下所示:
image: tbremer19/werck