> Configure project :
Info: Parsing C:\Users\zhouge\AppData\Local\Huawei\Sdk\java\3.0.0.80\uni-package.json
Info: Parsing C:\Users\zhouge\AppData\Local\Huawei\Sdk\toolchains\uni-package.json
FAILURE: Build failed with an exception.
* Where:
Build file 'F:\Users\zhouge\DevEcoStudioProjects\MyApplication\entry\build.gradle' line: 1
* What went wrong:
A problem occurred evaluating project ':entry'.
> javax/xml/bind/ValidationException
* 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
CONFIGURE FAILED in 0s
是第一次开发TV应用,选择的是Java空应用,点开下载gradle后就这样了。
其中,提示的问题文件为:
apply plugin: 'com.huawei.ohos.hap'
ohos {
compileSdkVersion 3
defaultConfig {
compatibleSdkVersion 3
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
testCompile'junit:junit:4.12'
}
相关推荐
鸿蒙小助手
1893
0
鸿蒙小助手
9073
0
6770
0
阿新工程师
2
0宋你一朵小红花
我还没有写个人简介......
帖子
提问
粉丝
华为鸿蒙 HarmonyOS 6.0.0.108 SP2 Developer 版本新增 9 套桌面图标
2025-10-20 23:17:16 发布注意!华为开启鸿蒙6.0系统推送,稳定性提升
2025-10-14 15:10:36 发布