Android 问题::发现多个文件与操作系统无关的路径“androidsupportmultidexversion.txt"“错误";

编程入门 行业动态 更新时间:2024-10-26 07:25:37
本文介绍了Android 问题::发现多个文件与操作系统无关的路径“androidsupportmultidexversion.txt"“错误";的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

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

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/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/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.app"
        minSdkVersion 21
}

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

更多推荐

[db:关键词]

本文发布于:2023-04-23 00:38:21,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1031283.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:多个   路径   操作系统   错误   发现

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!