Hello Fellow Devs, I have installed all I was required to install including the android sdk but the command $ ionic build android
is not working but gives the following error
[Error: Please install Android target: “android-23”.
Hint: Open the SDK manager by running: c:\Program\ Files\Android\android-sdk\tools\android.BAT
You will require:
- “SDK Platform” for android-23
- "Android SDK Platform-tools (latest)
- “Android SDK Build-tools” (latest)]
ERROR building one of the platforms: Error: cmd: Command failed with exit code 2
You may not have the required environment or OS to build this project
Error: cmd: Command failed with exit code 2
i have used the solution presented here and stackoverflow but no one worked for my case.I have the sdk tools,platform-tools, all installed for android-23. but I cant figure out the cause of the error.please help