Android问题::使用操作系统独立路径'androidsupportmultidexversion.txt'找到了多个文件 [英] Android Issue::More than one file was found with OS independent path 'androidsupportmultidexversion.txt'

查看:262
本文介绍了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"找到该文件

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

错误:找到了多个文件,这些文件具有与操作系统无关的路径"META-INF/DEPENDENCIES"

>在Android中找到了一个与操作系统无关的路径project.properties的文件

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天全站免登陆