移除compose,compose在华为手机报错崩溃

This commit is contained in:
kunfei
2022-11-03 22:18:21 +08:00
parent 8d5211c67e
commit 18a7566e7d
7 changed files with 2 additions and 170 deletions
-16
View File
@@ -61,7 +61,6 @@ android {
buildFeatures {
buildConfig true
viewBinding true
compose true
}
buildTypes {
release {
@@ -112,9 +111,6 @@ android {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
composeOptions {
kotlinCompilerExtensionVersion "$compose_compiler_version"
}
sourceSets {
// Adds exported schema location as test app assets.
@@ -171,18 +167,6 @@ dependencies {
implementation("androidx.lifecycle:lifecycle-common-java8:$lifecycle_version")
implementation("androidx.lifecycle:lifecycle-service:$lifecycle_version")
//compose
// Integration with activities
implementation 'androidx.activity:activity-compose:1.6.1'
// Compose Material Design
implementation "androidx.compose.material:material:$compose_version"
// Animations
implementation "androidx.compose.animation:animation:$compose_version"
// Tooling support (Previews, etc.)
implementation "androidx.compose.ui:ui-tooling:$compose_version"
// UI Tests
androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version"
//media
implementation("androidx.media:media:1.6.0")
implementation("com.google.android.exoplayer:exoplayer-core:$exoplayer_version")