Skip to content

Instantly share code, notes, and snippets.

View bitmason's full-sized avatar
🚲
I may be slow to respond.

Darren Stone bitmason

🚲
I may be slow to respond.
View GitHub Profile
# -*- 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"
@bitmason
bitmason / gist:746654140fd1c89ca463
Created April 7, 2015 00:40
For support ticket. RubyMotion 3.8. Unmodified Android template (except, Rakefile app.api_version = "19" necessary for OnePlus One).
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