2***@qq.com
2***@qq.com
  • 发布:2024-12-27 09:22
  • 更新:2024-12-27 09:22
  • 阅读:39

自定义基座提示24 files found with path 'META-INF/INDEX.LIST' from inputs:

分类:uni-app

打包自定义基座提示:

* What went wrong:  
Execution failed for task ':app:mergeReleaseJavaResource'.  
> A failure occurred while executing com.android.build.gradle.internal.tasks.MergeJavaResWorkAction  
> 24 files found with path 'META-INF/INDEX.LIST' from inputs:  
- /home/[Name]/.gradle/caches/transforms-3/7e9aa5426f5ab971f983ff266693c8ef/transformed/jetified-netty-transport-rxtx-4.1.70.Final.jar  
- /home/[Name]/.gradle/caches/transforms-3/a605079fe75cd8578ceceb5cdb2d5bef/transformed/jetified-netty-transport-classes-kqueue-4.1.70.Final.jar  
- /home/[Name]/.gradle/caches/transforms-3/dbec77590d8e5cd8a0a9ea16d7de6f59/transformed/jetified-netty-transport-4.1.70.Final.jar  
- /home/[Name]/.gradle/caches/transforms-3/96d7d053c6e21ddf03e918afd4e460ba/transformed/jetified-netty-transport-udt-4.1.70.Final.jar  
- /home/[Name]/.gradle/caches/transforms-3/aa9d11324ae6cec207a6cabd7999fc6d/transformed/jetified-netty-codec-smtp-4.1.70.Final.jar  
- /home/[Name]/.gradle/caches/transforms-3/4c4877cbf95629a7c312bbc7bdc4ed74/transformed/jetified-netty-transport-sctp-4.1.70.Final.jar  
- /home/[Name]/.gradle/caches/transforms-3/c079acd042da0c31edb496fb21297b38/transformed/jetified-netty-codec-dns-4.1.70.Final.jar  
- /home/[Name]/.gradle/caches/transforms-3/80781b388e16e979d50de81d0869df06/transformed/jetified-netty-codec-redis-4.1.70.Final.jar  
- /home/[Name]/.gradle/caches/transforms-3/54226e9d4dfb0b6a7a3213b6de94e1ee/transformed/jetified-netty-codec-memcache-4.1.70.Final.jar  
- /home/[Name]/.gradle/caches/transforms-3/3cf4672a584f1c1209475ce1a8fc6c06/transformed/jetified-netty-resolver-dns-4.1.70.Final.jar  
- /home/[Name]/.gradle/caches/transforms-3/3e403a6fd70e8b03a5a44437926092c4/transformed/jetified-netty-transport-classes-epoll-4.1.70.Final.jar  
- /home/[Name]/.gradle/caches/transforms-3/49090ab6487b4e5b57737536b4f7f422/transformed/jetified-netty-codec-http2-4.1.70.Final.jar  
- /home/[Name]/.gradle/caches/transforms-3/c66787154af02064a3558cf44e8cb95f/transformed/jetified-netty-resolver-dns-classes-macos-4.1.70.Final.jar  
- /home/[Name]/.gradle/caches/transforms-3/5a06ac035cebef68f6b974e2822d80e7/transformed/jetified-netty-codec-socks-4.1.70.Final.jar  
- /home/[Name]/.gradle/caches/transforms-3/953c6aa4f8b0f11a3e3c744231b86134/transformed/jetified-netty-buffer-4.1.70.Final.jar  
- /home/[Name]/.gradle/caches/transforms-3/209e5bc5cd276a57b20e2dcc55465aa6/transformed/jetified-netty-codec-xml-4.1.70.Final.jar  
- /home/[Name]/.gradle/caches/transforms-3/18c99b954e917365853eb7fceab77796/transformed/jetified-netty-resolver-4.1.70.Final.jar  
- /home/[Name]/.gradle/caches/transforms-3/5732815d9b4e42519438fd82d434d951/transformed/jetified-netty-codec-mqtt-4.1.70.Final.jar  
- /home/[Name]/.gradle/caches/transforms-3/cda4a2d395dceccb69921c62630669eb/transformed/jetified-netty-codec-stomp-4.1.70.Final.jar  
- /home/[Name]/.gradle/caches/transforms-3/995f224bed8c7e10b927c4be4ecd9c80/transformed/jetified-netty-transport-native-unix-common-4.1.70.Final.jar  
- /home/[Name]/.gradle/caches/transforms-3/8fc0bd361d1cb5508fd74dabd5762ca6/transformed/jetified-netty-codec-4.1.70.Final.jar  
- /home/[Name]/.gradle/caches/transforms-3/7b268371d02a53ec7dc3833bf315cffe/transformed/jetified-netty-codec-http-4.1.70.Final.jar  
- /home/[Name]/.gradle/caches/transforms-3/02dc47a5c2bfe79d06ac53c2dac37c58/transformed/jetified-netty-handler-4.1.70.Final.jar  
- /home/[Name]/.gradle/caches/transforms-3/760d5ee929cfb9a938f9f3565f8c3f02/transformed/jetified-netty-handler-proxy-4.1.70.Final.jar  
Adding a packagingOptions block may help, please refer to  
https://google.github.io/android-gradle-dsl/current/com.android.build.gradle.internal.dsl.PackagingOptions.html  
for more information

但是我的原生插件已经排除掉这个文件了如下:

packagingOptions {  
        resources {  
            excludes += "META-INF/INDEX.LIST"  
            excludes += "META-INF/io.netty.versions.properties"  
        }  
    }

并且离线打包运行都是没问题的,就是原生插件打包后放到hb里面有问题,请问还需要如何配置

2024-12-27 09:22 负责人:无 分享
已邀请:

要回复问题请先登录注册