Skip to content

Instantly share code, notes, and snippets.

@kuzuha
Last active December 16, 2015 04:39
Show Gist options
  • Save kuzuha/5378735 to your computer and use it in GitHub Desktop.
Save kuzuha/5378735 to your computer and use it in GitHub Desktop.
testem android emulator proxy command
#!/bin/sh
URL=`perl -e '$in="'$1'"; $in =~ s/localhost/10.0.2.2/; print $in;'`
$ANDROID_SDK_HOME/platform-tools/adb shell am start -a android.intent.action.VIEW -d $URL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment