Reputation: 4944
For a client of mine, I try to run the meteor run android
command on a mac and I got the following message:
✓ 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.
The situation so far:
PATH
is correctly defined with links to the tools and to the platform-tools, ANDROID_HOME
is fine toogradle
is not found either, the tools/templates/wrapper
path does not exist, which make me suspect a bad SDK installation, yet Android Studio handles everythingVerbose is not that verbose, in which situation Android SDK is okay and Android target is not ?
This is very hard to debug and I am desperate to find a solution, this issue seems unresolved in other related threads. Thanks for your help!
Upvotes: 2
Views: 609
Reputation: 4944
This is actually a bug due to the new version of the Android SDK Tools (> 25.3). The solution is to go back to 25.2.x, the Meteor guide mobile page has been updated a few hours ago.
Links to download 25.2.5 version:
https://dl.google.com/android/repository/tools_r25.2.5-linux.zip https://dl.google.com/android/repository/tools_r25.2.5-macosx.zip
Upvotes: 2