美文网首页
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--编译报错

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