everything was working fine with Meteor 1.6 I coudl build Android & iOs
After upgrading to Meteor 1.6.1 it borked my Crodova Android build. iOS works fine.
I tried fresh with a rm -rf ./meteor/local and meteor resetmeteor remove-platform android followed by meteor add-platform android which results in
Status of the individual requirements:
✓ Java JDK
✓ Android SDK
✓ Android target
✗ Gradle: Could not find an installed version of Gradle either in Android Studio,
or on your system to install the gradle wrapper. Please include gradle
in your path, or install Android Studio
I noticed this github closed issue… but thought I’d check if anyone had any words of wisdom pls?
Where do you locate which version of gradle to install based on the local Meteor version? Experiencing this same error, but when I install my distro’s gradle, the app fails to build and install.
Being the author of the above issue, I faced the same problem today, and found this thread ans the recetly added replies to my issue. This time, with Meteor 1.6.1, installing graddle 2.12.1 with SDKMAN! worked well and solved the problem in no time.
thanks for quick reply, yep used SDKman and installed 2.12… but in my projects ./gradle folder only shows 4.7 do I need to do something to specifically have it work for my Meteor project?
If I remember well, you should change the version in your gradle to make it match the one installed. I didn’t work with mobile tech for some weeks, my apologies for my weak memory
Setting gradle 2.14.1 as default.
Adams-MacBook-Pro:~ adamginsburg$ sdk install gradle 2.12.1
Stop! gradle 2.12.1 is not available. Possible causes:
* 2.12.1 is an invalid version
* gradle binaries are incompatible with Darwin
Adams-MacBook-Pro:~ adamginsburg$ sdk install gradle 2.12
Downloading: gradle 2.12
In progress...
######################################################################## 100.0%
Installing: gradle 2.12
Done installing!
Do you want gradle 2.12 to be set as default? (Y/n): Y
Setting gradle 2.12 as default.