I've been working for some years now with a custom fork of Collect, which works in conjunction with my own PHP/MySQL backend. My system requires a few minor changes to Collect, and my version is distributed only as an APK to specific users, so I don't update it from the main Collect repo more than about once per year. I'm not comfortable with Java, don't understand much about Android, and find Android Studio and Gradle utterly incomprehensible! My last successful build was in Android Studio 2, about a year ago, and i think that was based on Collect 1.14 or thereabouts.
But it's about time for an update, so I've just tried to build a vanilla Collect app 1.18.1 in a fresh install of AS3 - and it failed spectacularly. At the outset I got this:
The Android Gradle plugin supports only Crashlytics Gradle plugin version 1.25.4 and higher. Project 'Workspace_Collect_1.18.1' is using version 1.25.2.
I don't even know what Crashlytics is doing, (or to be honest what Gradle is doing!) but can anyone help me fix this error?
And if anyone knows how to build an APK from the Collect source without using AS at all, I'd love to hear about it. AS just seems to add an extraordinary amount of complication to the process of compiling an app, and as someone who is only an occasional dabbler in Android app development, its evolution has left me completely baffled as to what it's doing most of the time!