使用操作系统独立路径"builddef.lst"找到了多个文件(googlecode.mp4parser:isoparser :) [英] More than one file was found with OS independent path 'builddef.lst' (googlecode.mp4parser:isoparser:)

查看:647
本文介绍了使用操作系统独立路径"builddef.lst"找到了多个文件(googlecode.mp4parser:isoparser :)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用 googlecode.mp4parser:isoparser:修剪视频时遇到此错误,但我使用电报视频压缩器 库开始显示此内容| ..

I got this error while using googlecode.mp4parser:isoparser: for trimming video I used this but when I used telegram video compressor library it starts show this thing|..

More than one file was found with OS independent path 'builddef.lst'

我在堆栈和其他站点中搜索了一些问题,但是并没有解决我的问题......我浪费了3天的时间来解决此问题,请问有人知道我该如何解决..我用电报具有 isoparser >请在电报库中查看此图片的视频压缩库 如果我从我的应用程序中删除了 googlecode.mp4parser.isoparser 库,则会出错.但是我无法删除它,我正在将它用于视频修剪器...可以做什么请帮助我

I searched some of the question in stack, and other sites but It didn't solved my problem ......I wasted 3 days solve this problem please does anyone knows how can I solve this..I used telegram video compression libs which has isoparser please see this image in telegram libs if I remove the googlecode.mp4parser.isoparser library from my app the error goes. but I can't remove this I am using this for video trimmer ...what can do please help me

这里...我尝试了什么

我使用了这段代码,但显示编译失败并发生了新错误

I used this code but it shows compilation failed and a new error occur

packagingOptions{
    exclude 'builddef.lst'
    exclude 'version.txt'
    exclude 'isoparser-default.properties'
}

当我将此代码添加到android {}

this I is the error when I add this code to android{}

 Program type already present: com.coremedia.iso.BoxParser
 Message{kind=ERROR, text=Program type already present: com.coremedia.iso.BoxParser, sources=[Unknown source file], tool name=Optional.of(D8)}

 packagingOptions {
    exclude 'META-INF/DEPENDENCIES'
    exclude 'META-INF/LICENSE'
    exclude 'META-INF/LICENSE.txt'
    exclude 'META-INF/license.txt'
    exclude 'META-INF/NOTICE'
    exclude 'META-INF/NOTICE.txt'
    exclude 'META-INF/notice.txt'
    exclude 'META-INF/ASL2.0'
    exclude 'META-INF/project.properties'
    exclude 'META-INF/builddef.lst'
    }

推荐答案

将其添加到build.gradle的Android {...}闭包中,以解决您的应用模块问题:

Add this inside the android {...} closure in the build.gradle for your app module to resolve issue:

android {
    ...
      compileOptions {
            sourceCompatibility JavaVersion.VERSION_1_8
            targetCompatibility JavaVersion.VERSION_1_8
        }
    ...
    }

这篇关于使用操作系统独立路径"builddef.lst"找到了多个文件(googlecode.mp4parser:isoparser :)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆