So everytime I am building/running my android app (e.g.
meteor run android-device) the following happens:
stderr: '\nFAILURE: Build failed with an exception.\n\n* Where:\nBuild file \'/Users/patrick/dev/orderlion/orderlion_mobileapp/.meteor/local/cordova-build/platforms/android/CordovaLib/build.gradle\' line: 41\n\n* What went wrong:\nA problem occurred evaluating project \':CordovaLib\'.\n> Failed to apply plugin [id \'com.android.library\']\n > Minimum supported Gradle version is 4.4. Current version is 4.1. If using the gradle wrapper, try editing the distributionUrl in /Users/patrick/dev/orderlion/orderlion_mobileapp/.meteor/local/cordova-build/gradle/wrapper/gradle-wrapper.properties to gradle-4.4-all.zip\n\n*
So then I have to go into Android Studio and adjust the following in the “Project Structure”:
Is there any way to avoid this and somehow hardcode the Gradle Version into meteor or my build script? This pretty annoying as I have to do this every single time!