gpt4 book ai didi

android - 未在虚拟或真实设备上安装代码和应用程​​序下带有红线的Gradle代码

转载 作者:行者123 更新时间:2023-12-03 05:42:59 25 4
gpt4 key购买 nike

我正在开发一个Android App,直到遇到一个问题,即构建成功后,我无法安装App;当我打开gradle文件时,它在appcompat实现下显示红线。

我很困惑如何解决它,因为应用程序我无法在Real或Virtual Device上安装应用程序。

这是Gradle代码中的依赖关系

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
**implementation 'com.android.support:appcompat-v7:28.0.0-beta01'**
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
implementation 'com.google.firebase:firebase-auth:11.8.0'
implementation 'com.google.firebase:firebase-database:11.8.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'com.android.support:cardview-v7:28.0.0-beta01'

}
Message Under the Line Error

最佳答案

您的项目中有一个库,该库使用具有不同版本的android.support库的库。

您可以使用排除-> this post

继续阅读以更好地了解this article

关于android - 未在虚拟或真实设备上安装代码和应用程​​序下带有红线的Gradle代码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51609882/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com