-
Notifications
You must be signed in to change notification settings - Fork 642
Closed
Labels
Description
[REQUIRED] Step 2: Describe your environment
- Android Studio version: Arctic Fox | 2020.3.1 Patch 1
- Firebase Component: perf crash
- Component version: gradle 7.2 AGP 7.0.2
** build.gradle(root)
dependencies {
classpath "com.android.tools.build:gradle:7.0.2"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.31"
classpath "com.google.gms:google-services:4.3.10"
classpath "com.google.firebase:firebase-crashlytics-gradle:2.8.1"
classpath "com.google.firebase:perf-plugin:1.4.0"
}
** build.gradle(app)
plugins {
id 'com.android.application'
id 'kotlin-android'
id 'com.google.gms.google-services'
id 'com.google.firebase.firebase-perf'
}
dependencies {
implementation platform('com.google.firebase:firebase-bom:29.0.3')
//firebase 发版说明 https://firebase.google.com/support/release-notes/android
// Declare the dependencies for the Crashlytics and Analytics libraries
// When using the BoM, you don't specify versions in Firebase library dependencies
implementation 'com.google.firebase:firebase-analytics-ktx'
implementation 'com.google.firebase:firebase-perf-ktx'
implementation 'com.google.firebase:firebase-messaging-ktx'
//远程配置
implementation 'com.google.firebase:firebase-config-ktx'
implementation 'com.umeng.umsdk:apm:1.5.2'
...
}
[REQUIRED] Step 3: Describe the problem
* What went wrong:
Execution failed for task ':app:mergeExtDexDebug'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Failed to transform apm-1.5.2.aar (com.umeng.umsdk:apm:1.5.2) to match attributes {artifactType=android-dex, asm-transformed-variant=debug, dexing-enable-desugaring=true, dexing-is-debuggable=true, dexing-min-sdk=21, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for AsmClassesTransform: /Users/xiaoyao/.gradle/caches/transforms-3/a0029789a8d8fddb72a8823b9c5db5cf/transformed/jetified-apm-1.5.2-runtime.jar.
> JSR/RET are not supported with computeFrames option
zhangao0086 and ChinaZeng