帖子
帖子
用户
博客
课程
显示全部楼层
9
帖子
0
勋章
67
Y币

[开发工具] 编译失败

[复制链接]
发表于 2021-12-30 02:56:29
2021-12-30 02:55:44FAILURE: Build failed with an exception.* What went wrong:Execution failed for task ':app:javaPreCompileRelease'.> This project uses AndroidX dependencies, but the 'android.useAndroidX' property is not enabled. Set this property to true in the gradle.properties file and retry.  The following AndroidX dependencies are detected: androidx.collection:collection:1.0.0, androidx.core:core:1.1.0, androidx.versionedparcelable:versionedparcelable:1.1.0, androidx.lifecycle:lifecycle-common:2.0.0, androidx.arch.core:core-common:2.0.0, androidx.lifecycle:lifecycle-runtime:2.0.0, androidx.annotation:annotation:1.1.0* Try:Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.* Get more help at https://help**.**BUILD FAILED in 9s
9
帖子
0
勋章
67
Y币
请大神们看看怎么回事啊啊
380
帖子
4
勋章
6
Y币
重新编译
您需要登录后才可以回帖 登录

本版积分规则