[英]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.