[英]Change compile still error in build-gradle
当我按“重建项目”时,出现此错误。 我已经尝试了一切,在互联网上搜索,但没有任何效果。 我真的很想测试我的应用程序以查看该应用程序是否正常工作。
Executing tasks: [:app:generateDebugSources, :libtimesquare:generateDebugSources]
Configuration on demand is an incubating feature.
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
:app:preBuild UP-TO-DATE
:libtimesquare:preBuild UP-TO-DATE
:libtimesquare:preDebugBuild UP-TO-DATE
:libtimesquare:checkDebugManifest UP-TO-DATE
:libtimesquare:processDebugManifest UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:libtimesquare:compileDebugAidl UP-TO-DATE
:app:compileDebugAidl UP-TO-DATE
:libtimesquare:packageDebugRenderscript NO-SOURCE
:app:compileDebugRenderscript UP-TO-DATE
:app:checkDebugManifest UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:app:prepareLintJar UP-TO-DATE
:app:mainApkListPersistenceDebug UP-TO-DATE
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources UP-TO-DATE
:app:processDebugGoogleServices
Parsing json file: /home/app/google-services.json
:libtimesquare:compileDebugRenderscript UP-TO-DATE
:libtimesquare:generateDebugResValues UP-TO-DATE
:libtimesquare:generateDebugResources UP-TO-DATE
:libtimesquare:packageDebugResources UP-TO-DATE
:app:mergeDebugResources UP-TO-DATE
:app:createDebugCompatibleScreenManifests UP-TO-DATE
:app:processDebugManifest UP-TO-DATE
:app:splitsDiscoveryTaskDebug UP-TO-DATE
:libtimesquare:platformAttrExtractor UP-TO-DATE
:libtimesquare:generateDebugRFile UP-TO-DATE
:app:processDebugResources UP-TO-DATE
:app:generateDebugSources UP-TO-DATE
:libtimesquare:generateDebugBuildConfig UP-TO-DATE
:libtimesquare:prepareLintJar UP-TO-DATE
:libtimesquare:generateDebugSources UP-TO-DATE
BUILD SUCCESSFUL in 1s
24 actionable tasks: 1 executed, 23 up-to-date
“建造成功”
将compile
替换为implementation
的警告只是警告,而不是错误。 如果您使用implementation
您的摇篮依赖关系,然后其中一人正在使用compile
,你需要等待作者更新它们。
没有什么可以阻止您测试您的应用程序。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.