Skip to content

Instantly share code, notes, and snippets.

@csytsma
csytsma / startVM.sh
Created March 9, 2015 18:10
Use this to start VirtualBox VM, assuming you already have the VM setup and it is called Android.
#!/bin/bash
# This script starts the VirtualBox VM for Android
# Author: Cory Sytsma
printf "Starting VirtualBox Android VM...\n"
vboxmanage startvm Android
@csytsma
csytsma / connectVM.sh
Created March 9, 2015 18:12
Connect ADB to the emulator. You'll need the IP from the emulator, as explained in the comments below. Ideally, it doesn't change.
#!/bin/bash
# This script connects Android Debug Bridge to the VirtualBox Android VM.
# To get IP address of VM, launch VM, go to Terminal and type 'netcfg'.
# The IP is next to the eth0 interface
# Author: Cory Sytsma
printf "Connecting to VirtualBox Android VM...\n"
# Ratio office WiFi