This file contains 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
# -*- coding: utf-8 -*- | |
$:.unshift("/Library/RubyMotion/lib") | |
require 'motion/project/template/android' | |
Motion::Project::App.setup do |app| | |
# Use `rake config' to see complete project settings. | |
app.name = 'Hello' | |
app.api_version = "19" | |
app.vendor_project jar: "vendor/android-support-v4.jar" | |
app.vendor_project jar: "vendor/android-support-v7-appcompat.jar" |
This file contains 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
ds:Hello dstone$ rake device | |
Create ./build/Development-19/classes.dex | |
Create ./build/Development-19/Hello.apk | |
Sign ./build/Development-19/Hello.apk | |
Align ./build/Development-19/Hello.apk | |
Install ./build/Development-19/Hello.apk | |
2827 KB/s (1883837 bytes in 0.650s) | |
Start com.yourcompany.hello/.MainActivity | |
--------- beginning of /dev/log/main | |
--------- beginning of /dev/log/system |