Run this, Bring a coffee and relax
sh -c "$(curl https://gist.githubusercontent.com/HazemKhaled/0372231f53e77a090599af122ab59c84/raw/setup.sh)"
sh -c "$(curl https://gist.githubusercontent.com/HazemKhaled/0372231f53e77a090599af122ab59c84/raw/setup.sh)"
#!/bin/sh | |
# install dependencies | |
sudo apt-get install -yqq libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5 lib32z1 | |
# download and unpack Android SDK | |
wget http://dl.google.com/android/android-sdk_r24.3.3-linux.tgz | |
mkdir /home/runner/android-sdk-linux | |
tar xf android-sdk_r24.3.3-linux.tgz -C /home/runner/ | |
rm android-sdk_r24.3.3-linux.tgz | |
# install necessarry componenets |
language: objective-c | |
notifications: | |
email: | |
- hazem.khaled@gmail.com | |
env: | |
matrix: | |
- PLATFORM="ios" | |
- PLATFORM="android" ANDROID_VERSION="19" |
This [Alloy Build Configuration File](http://docs.appcelerator.com/titanium/3.0/#!/guide/Build_Configuration_File_(alloy.jmk) automatically generates non-retina and Android XXHDPI, XHDPI, HDPI and MDPI images for all new and changed retina (@3x
) images before each compile.
Read more about it at: http://fokkezb.nl/2013/07/29/generate-non-retina-images/