我在 android studio 中准备了一个 android 应用程序,然后我将整个代码从一个系统手动复制到另一个系统。但之后,出现这个错误。下面是我的 gradle 文件和屏幕截图。(不确定为什么 android studio 中没有显示 manisfest 文件,这可能相关)请不要标记副本,因为我已经尝试了 stackoverflow 中的许多解决方案。这些是相同的错误,但似乎有不同的原因。
模块:应用程序
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
android {
compileSdkVersion 30
buildToolsVersion '30.0.2'
defaultConfig {
applicationId "dhritiapps.tulsiramayan"
minSdkVersion 23
targetSdkVersion 30
versionCode 23
versionName 5.0
multiDexEnabled true
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
compileOptions {
sourceCompatibility 1.8
targetCompatibility 1.8
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
}
}
dependencies {
implementation …Run Code Online (Sandbox Code Playgroud)