Error from platform command android


#1

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


#2

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


#3

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


#4

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.


#5

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