问题描述:最近在学习如何在手机端部署YOLO,出现了许多错误,其中在用数据线连结电脑和手机之后,点击Run,没有成功,出现了这个错误
Caused by: org.gradle.api.internal.provider.AbstractProperty$PropertyQueryException: Failed to calculate the value of task ':app:compileDebugJavaWithJavac' property 'options.generatedSourceOutputDirectory'.
问题解决:
将上图中gradle-wrapper.properties里面的版本降下来,同时修改使用国内镜像。
distributionUrl=https://mirrors.cloud.tencent.com/gradle//gradle-5.4.1-all.zip