Skip to content

Instantly share code, notes, and snippets.

@DerZyklop
Last active August 29, 2015 14:07
Show Gist options
  • Save DerZyklop/f6b6f3f211153ef2fe74 to your computer and use it in GitHub Desktop.
Save DerZyklop/f6b6f3f211153ef2fe74 to your computer and use it in GitHub Desktop.
Make an openui5-app work on android
sudo npm install -g cordova
brew install android-sdk -g
android
// Now the "Android SDK-Manager" GUI opens; download the preselected packages plus "Android 4.4.2 (API 19)"
brew cask install android-file-transfer
brew install ant -g
cordova create hello com.example.hello HelloWorld
cd hello
export ANDROID_HOME=$(brew --prefix android)
cordova platform add android
cordova build
// Now copy the `.apk`-file from platforms/android/ant-build to the downloads-folder of your device with the android-file-transfer app on your mac.
open platforms/android/ant-build
open "$(find ~/Applications /Applications -name "Android File Transfer.app" -print -quit)"
// Install OpenUI5
cd WWW
npm install bower --save-dev
bower install openui5-bower
cp -r bower_components/openui5-bower/resources resources/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment