Skip to content

Installing on Android

sarahmei edited this page Sep 13, 2010 · 3 revisions

Add the following to your ~/.bash_profile:

export ANDROID_HOME=/Users/smei/Desktop/mobile/android-sdk-mac_x86-1.5_r3
export PATH=${PATH}:${ANDROID_HOME}/tools

Edit the file ANDROID_HOME/platforms/android-1.5/tools/dx
Uncomment javaOpts=“-Xmx215M” and change it to:

javaOpts=“-Xmx512M -Xms512M” 
rake run:android

The first time you run the emulator, it will ask you:

do you want to create a custom hadware profile?  [no] 

Hit enter to use the default. It will load the app in the Android emulator. Create a product and make sure it shows up in the index when you save it.

Clone this wiki locally