Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. > Trailing char < > at index 32: D:\SoftwareDirectory\Android-SDK \package.xml

报错

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Trailing char < > at index 32: D:\SoftwareDirectory\Android-SDK \package.xml

* 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.gradle.org

BUILD FAILED in 95ms

原因

  • 在 项目中 local.properties文件中有空格,删掉即可
    image
posted @   MikiKawai  阅读(1236)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· C#/.NET/.NET Core优秀项目和框架2025年2月简报
· Manus爆火,是硬核还是营销?
· 一文读懂知识蒸馏
· 终于写完轮子一部分:tcp代理 了,记录一下
点击右上角即可分享
微信分享提示