【发布时间】:2017-09-01 08:44:21
【问题描述】:
我正在尝试将 Firebase 性能监控添加到应用中
这是我的版本号:
FIREBASE_VERSION = '2.3.0'
PLAY_SERVICES_VERSION = '11.2.0'
SUPPORT_LIB_VERSION = '26.0.2'
BUILD_TOOLS_VERSION = '26.0.1'
COMPILE_SDK_VERSION = 26
TARGET_SDK_VERSION = 25
MIN_SDK_VERSION = 19
将接下来的两行添加到应用级 build.gradle 文件中:
//other code
apply plugin: 'com.google.firebase.firebase-perf'
//other code
compile "com.google.firebase:firebase-perf:$PLAY_SERVICES_VERSION"
导致下一个错误:
Execution failed for task ':app:transformClassesWithFirebasePerformancePluginForProductionDebug'.
> android/support/v7/app/ActionBarActivity
与Firebase performance monitor issue with support lib 26.0.0类似的问题
这个问题可能是由某些 3rd 方库引起的,有没有办法确定哪个库使用旧的支持库?
【问题讨论】:
-
你在哪里使用 FIREBASE_VERSION?
-
编译“com.firebaseui:firebase-ui-auth:$FIREBASE_VERSION”
标签: android firebase firebase-performance