Last active
August 29, 2015 14:07
-
-
Save DerZyklop/f6b6f3f211153ef2fe74 to your computer and use it in GitHub Desktop.
Make an openui5-app work on android
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
init -g |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment