I have been using the latest ion box since April 27, 2015. I was able to ionic platform add android , but got the following error if ionic build android :
[Error: Please install Android target: "android-22". Hint: Open the SDK manager by running: /home/vagrant/android-sdk-linux/tools/android You will require: 1. "SDK Platform" for android-22 2. "Android SDK Platform-tools (latest) 3. "Android SDK Build-tools" (latest)]
I tried updating sdk with the following command
android update sdk --no-ui
where I get the output of the selection from the number https://dl-ssl.google.com/android * "The file was not found. However, if I copy this URL and paste it into the browser, the file is.
My firewall is now connected to the network to have direct access to the Internet, as NAT gave me the same errors.
Any help is greatly appreciated.
source share