Crashlytics was applied to a project without an Android plugin.

今天打包的时候遇到这个问题

Crashlytics was applied to a project without an Android plugin. Please make sure the Crashlytics plugin is applied after the appropriate Android plugin for your project.


不知所云,查了半天也没有发现问题,gradle升级之前也没有问题,纠缠之后发现,将apply plugin: 'com.android.application'放到apply plugin: 'crashlytics'之前就没有问题。

记一下,缩短其他人的纠结时间,不过crashlytics国内用的人估计不多。

你可能感兴趣的:(Crashlytics was applied to a project without an Android plugin.)