Android 问题::发现多个文件与操作系统无关的路径“androidsupportmultidexversion.txt"“错误"; [英] Android Issue::More than one file was found with OS independent path 'androidsupportmultidexversion.txt' "error"

查看:83
本文介绍了Android 问题::发现多个文件与操作系统无关的路径“androidsupportmultidexversion.txt"“错误";的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在编译我的项目时遇到了这个问题我为此尝试了一些解决方案

I am getting this issue while compiling my project I have tried a few solutions for that and that is

不止一个找到了具有独立于操作系统的路径META-INF/LICENSE"的文件

在 gradle:3.0.0 上发现不止一个文件与操作系统无关的路径 'META-INF/ASL2.0'

https://google.github.io/android-gradle-dsl/current/com.android.build.gradle.internal.dsl.PackagingOptions.html

https://www.bswen.com/2019/11/android-More-than-one-file-was-found-with-OS-independent-path-META-INF-DEPENDENCIES.html

错误: 发现多个文件与操作系统无关的路径 'META-INF/DEPENDENCIES'

'超过发现一个文件与操作系统独立路径 project.properties' android 中的错误

Gradle 错误:发现多个文件与操作系统无关的路径META-INF/androidx.localbroadcastmanager_localbroadcastmanager.version"

https://dorbae.github.io/android/troubleshooting/Android-疑难解答-Morethanonemetainf/

https://github.com/Nexmo/nexmo-java/issues/128

但对我没有任何作用有人知道如何解决这个问题吗?

but nothing worked for me anyone having any idea how to solve this?

推荐答案

我遇到了同样的问题,您可以使用此链接作为参考

I got the same issue you can use this link as an reference

(即使未在 android 项目中启用,也会出现 Androidx 库问题)

您可以直接在 build.gradle 中尝试更改最低 Android 版本 >= 21

You can directly Try to change minimum Android version >= 21 in your build.gradle

android {
    compileSdkVersion 28
    buildToolsVersion '28.0.3'

    defaultConfig {
        applicationId "app.com.app"
        minSdkVersion 21
}

这篇关于Android 问题::发现多个文件与操作系统无关的路径“androidsupportmultidexversion.txt"“错误";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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