По сути, мне и моему одногруппнику поручено создать игру и своего рода приложение с использованием Android Studio для нашего финального проекта, однако приложение моего одногруппника целый день сталкивалось с этой проблемой, и мы практически все перепробовали.
>
Вот код:
Код: Выделить всё
plugins {
id("com.android.application")
id("com.google.gms.google-services")
}
dependencies {
implementation("com.google.firebase:firebase-auth:22.3.1")
implementation("androidx.appcompat:appcompat:1.6.1")
implementation("com.google.android.material:material:1.4.0")
implementation("androidx.constraintlayout:constraintlayout:2.1.3")
implementation("com.google.code.gson:gson:2.8.8")
implementation("com.github.bumptech.glide:glide:4.12.0")
implementation("androidx.recyclerview:recyclerview:1.2.1")
implementation(platform("com.google.firebase:firebase-bom:32.7.4"))
implementation("com.google.firebase:firebase-analytics-ktx")
implementation("com.google.android.gms:play-services-tflite-acceleration-service:16.0.0-beta01")
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test.ext:junit:1.1.5")
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
}
android {
compileSdk = 34
defaultConfig {
applicationId = "com.example.grocerydelivery"
minSdk = 24
targetSdk = 34
versionCode = 1
versionName = "1.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
isMinifyEnabled = false
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
buildFeatures {
viewBinding = true
}
}
Thanks in advanced!
Источник: https://stackoverflow.com/questions/781 ... ry-2-groce