Created
          October 17, 2011 09:02 
        
      - 
      
- 
        Save gipi/1292237 to your computer and use it in GitHub Desktop. 
    Install an APK in all running emulators/devices
  
        
  
    
      This file contains hidden or 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
    
  
  
    
  | # ant clean && ant debug && adbInstallAll | |
| adbInstallAll() { | |
| adb devices | \ | |
| sed '1d;/^$/d;' | \ | |
| awk '{print $1}' | \ | |
| while read device; | |
| do | |
| adb -s $device install -r bin/*-debug.apk | |
| done | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment