Error from platform command android

Occupy “ionic platform add android” and throws me this error" Error from platform command "How can I ever fix it?
 
Thanks!

Hi!

You need to add the path to your Android SDK platform-tools and tools directory.

More info: http://docs.phonegap.com/en/3.5.0/guide_platforms_android_index.md.html#Android%20Platform%20Guide

1 Like

The error was not around, was rather mine, did not have the API 19 and sent me this message after try, download it now and everything works perfectly. Thanks for your help

Try deleting this one:

C:\NVPACK\android-sdk-windows\tools

And keep these:

C:\Users\Lixsys\AppData\Local\Android\android-sdk\platform-tools
C:\Users\Lixsys\AppData\Local\Android\android-sdk\tools

Also, I think the path separator in Windows is ; (semicolon) not ,. I’m not sure though.

The error was not around, was rather mine, did not have the API 19 and sent me this message after try, download it now and everything works perfectly. Thanks for your help

1 Like