Android 报错Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.

版权声明:未经王小波同学允许不得转载本文内容,否则将视为侵权;博主qq:1419758909;反正也没人转载~ https://blog.csdn.net/qq_38900441/article/details/83449999

在Terminal中输入gradlew compileDebugSources可查看错误信息

出现以上错误是因为compile已经过时可以换成implementation

compile ->implementation
androidTestCompile ->androidTestImplementation
testCompile -> testImplementation

猜你喜欢

转载自blog.csdn.net/qq_38900441/article/details/83449999