各位大佬,小白第一次安装就遇见这种问题?求解/(ㄒoㄒ)/~~

发布于 2020-9-11 21:22
浏览
0收藏

> 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'
}

 

 

收藏
回复
举报
回复
添加资源
添加资源将有机会获得更多曝光,你也可以直接关联已上传资源 去关联
    相关推荐