简体   繁体   English

在Android Studio上编译调试版本时发生CrashlyticsMissingDependencyException

[英]CrashlyticsMissingDependencyException when compiling debug release on Android Studio

I'm receiving this error every time I compile the debug version of my app 每次编译应用程序的调试版本时,我都会收到此错误

03-04 12:02:48.241    8933-8933/com.cmr.activities E/Fabric﹕ This app relies on Crashlytics. Please sign up for access at https://fabric.io/sign_up,
install an Android build tool and ask a team member to invite you to this app's organization

The problem it self is, I know the meaning of the error but I have all installed and when I had this error in the past I just cleaned the project and worked again. 本身的问题是,我知道该错误的含义,但是我已经安装了所有错误,并且在过去遇到此错误时,我只是清理了该项目,然后再次工作。 Now suddenly I'm receiving this error and now I can't fix it. 现在突然我收到此错误,现在无法修复。 Any idea? 任何想法?

I worked with Crashlytics since past year in several projects but I hate this "crash", and is worst with flavors changes configurations. 去年以来,我在多个项目中都与Crashlytics一起工作,但我讨厌这种“崩溃”,在口味变化配置方面最糟糕。

Actual configuration: 实际配置:

dependencies {
    classpath 'io.fabric.tools:gradle:1.15.2'
}

....
compile('com.crashlytics.sdk.android:crashlytics:2.2.1@aar') {
    transitive = true;
}

And in Application 并在应用中

public void onCreate() {
    ...
    Fabric.with(this, new Crashlytics());
    ...
}

And of course, Android Studio plugin installed and logged in. 当然,Android Studio插件已安装并登录。

Thanks! 谢谢!

今天知道了这一点,我通过删除代码中与之相关的所有crashlytics解决了问题,并执行了“使缓存无效/重启”,然后选择crashlytics并通过插件进行安装。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Android Studio:在调试时构建,但不在发布时构建 - Android Studio : build on debug but not on release 编译Android Zxing版本时出错,无法调试 - Error compiling android zxing release not debug Android Studio NDK版本/调试定义 - Android Studio NDK release/debug defines Android studio - 部署发布 apk 而不是调试 - Android studio - deploy the release apk instead of debug Android Studio:运行/调试应用程序的发布版本 - Android Studio: run/debug release version of app Android,Visual Studio,Xamarin:在发布模式下,位图为null;在调试模式下,!= null - Android, Visual Studio, Xamarin: Bitmap is null when in release mode, but != null when in debug mode android studio项目中gradle'testDebug'期间的com.crashlytics.android.CrashlyticsMissingDependencyException - com.crashlytics.android.CrashlyticsMissingDependencyException during gradle 'testDebug' on android studio project Android Studio当我按下调试时,它运行测试而不是编译项目 - Android Studio When I press debug it runs tests instead of Compiling Projects 在Android Studio 3.0 RC2中编译版本时出错 - Error while compiling release build in Android Studio 3.0 RC2 如何使用 Android Studio 在发布模式下调试 Android 应用程序 - How to debug the Android App in release mode using Android studio
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM