美文网首页
JavaFx--编译报错

JavaFx--编译报错

作者: 请叫我大帅666 | 来源:发表于2023-01-17 21:09 被阅读0次

Caused by: com.android.builder.merge.DuplicateRelativeFileException: 3 files found with path 'META-INF/substrate/config/reflectionconfig-arm64-ios.json'.

在build.gradle中加入下列形式报错文件路径:

packagingOptions {
        exclude 'META-INF/substrate/config/reflectionconfig-aarch64-android.json'
        exclude 'META-INF/substrate/config/reflectionconfig-arm64-ios.json'
        exclude 'META-INF/substrate/config/reflectionconfig-aarch64-darwin.json'
        exclude 'META-INF/substrate/config/reflectionconfig-x86_64-linux.json'
        exclude 'META-INF/substrate/config/reflectionconfig.json'
        exclude 'META-INF/substrate/config/reflectionconfig-x86_64-darwin.json'
        exclude 'META-INF/substrate/config/jniconfig-x86_64-ios.json'
        exclude 'META-INF/substrate/config/jniconfig-arm64-ios.json'
        exclude 'META-INF/substrate/config/resourcebundles'
        exclude 'META-INF/substrate/config/jniconfig-x86_64-darwin.json'
        exclude 'META-INF/substrate/config/reflectionconfig-x86_64-ios.json'
        exclude 'META-INF/substrate/config/jniconfig-aarch64-android.json'
        exclude 'META-INF/substrate/config/jniconfig-aarch64-darwin.json'
        exclude 'META-INF/substrate/config/jniconfig-x86_64-linux.json'
    }

相关文章

  • JavaFx--编译报错

    Caused by: com.android.builder.merge.DuplicateRelativeFil...

  • iOS 错误汇总

    Xcode11.2编译报错,报错如下 解决: xcode编译报错,报错如下 解决:在Build Phases,新增...

  • OC和Swift混编

    编译报错: 报错一>

  • Python局部变量和全局变量的坑

    PyCharm编译不报错,但运行报错,可能是编译器认为while True可能不会进入,所以编译不报错。 编译器报...

  • Execution failed for task ':zz:t

    背景 debug版本编译正常,release版本编译报错. 编译报错日志 分析 具体问题在报错信息中并不明显,没有...

  • CocoaPods报错解决

    1 报错:拉取最新代码后,编译报错。工程编译提示Pods-framework.sh:No Such File or...

  • JAVA泛型的思考

    看下边这段代码: 编译是否会报错?运行是否会报错? 结果是编译不会报错,运行时第二行报错:java.lang.Ar...

  • delphi控件Ehlib v4.2

    delphi控件Ehlib 编译报错的处理 delphi控件Ehlib.v4.2.16 编译报错的处理办法。 在 ...

  • 系统类库报的错

    解决RegexKitLite编译报错

  • 编译 SDK

    目录 编译 SDK 报错记录 打包固件 编译 SDK 报错记录 参考网站SDK:FireFly-Rk3288 5....

网友评论

      本文标题:JavaFx--编译报错

      本文链接:https://www.haomeiwen.com/subject/bikxhdtx.html