Meteor can't find Android SDK

I’m building an app with Meteor 1.5 on a Debian-Linux distribution. I followed the guide to test my app on a Android device, but I type “meteor run android”, I get the following answer :

Status of the individual requirements:        
✓ Java JDK                                    
✓ Android SDK                                 
✗ Android target: Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment
  variable.
✗ Gradle: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK.
  Looked here: /home/shakealot/Android/Sdk/tools/templates/gradle/wrapper

I’m using Android SDK 26.0.2, my PATH is defined

This is a known issue with modern Android SDK versions you will need to install an older version of the Android SDK, see https://github.com/meteor/meteor/issues/8464 and https://guide.meteor.com/mobile.html#installing-prerequisites-android

v.25.3.0 will not work due to extensive changes. See issue #8464 for more information.

Yeah it’s working find now, that trick did it.
But the thing is that i read the guide, and the guide is saying :

Meteor 1.4.3.1 or later: Android SDK Tools v.25.2.x (mac, linux, windows) or v.26.0.0 or later

Wich is wrong, v.26.0.2 isn’t working

Yeah, I also spent of bunch of time troubleshooting because I had v26.0.2 and the guide said it would work.


mentions the guide should not have been updated yet for v26.0.0 or later

Maybe that should be reverted to save others the trouble?

1 Like