I\'m trying to run my Ionic 3 project on my Android device with ionic cordova run android --device --stacktrace
, but, I\'ve the following output:
In latest SDK you can find sdkmanager file under this location
/Users/pareshgami/Library/Android/sdk/cmdline-tools/latest/bin/
after that we need to run same command
sdkmanager "platforms;android-26"
After I installed version which was asked for licenses - it started to work! You can do this in Android Studio > SDK Manager
I did tried above mention tricks, what works for me on Mac OS is below
$ANDROID_HOME/tools/bin/sdkmanager "build-tools;26.0.1" "platforms;android-26"
@Paresh Gami's answer helped resolve mine. Just a side note for Mac OSX user..
the full path is /Users/useraccount/Library/Android/sdk/tools/bin/
where useraccount is your current system user.