I’m using the latest ionic-box as of 27th April 2015 and running it on a centos 7 box. I’ve been able to “ionic platform add android” but getting the following error when “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:
- “SDK Platform” for android-22
- "Android SDK Platform-tools (latest)
- “Android SDK Build-tools” (latest)]
I’ve tried updating the sdk with the following command “android update sdk --no-ui” where I get the output of fetching a number of “https://dl-ssl.google.com/android*” File not found. However, if i copy that url and paste it on a browser the file is there.
My vagrant box is now bridged on the network to have direct access to the internet, since NAT was giving me the same errors. I have also created a separate ionic-box with a a dummy ionic framework project “myApp” tabs, error is the same.
Any help is much appreciated.