SHARE
TWEET

Android ndk-gdb updates for API21

jacobk-iugo Jan 28th, 2015 (edited) 280 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Get the app_server binary from the device
  2. APP_PROCESS=$APP_OUT/app_process
  3. if [ "$API_LEVEL" -lt "21" ] ; then
  4.     run adb_cmd pull /system/bin/app_process `native_path $APP_PROCESS`
  5.     log "Pulled app_process from device/emulator to $APP_PROCESS"
  6. else
  7.     run adb_cmd pull /system/bin/app_process32 `native_path $APP_PROCESS`
  8.     log "Pulled app_process32 from device/emulator to $APP_PROCESS"
  9. fi
  10.  
  11. OR:
  12.  
  13. # Get the app_server binary from the device
  14. APP_PROCESS=$APP_OUT/app_process
  15. APP_PROCESS_DEVICE=app_process32
  16. if [ "$API_LEVEL" -lt "21" ] ; then
  17.     APP_PROCESS_DEVICE=app_process
  18. fi
  19. run adb_cmd pull /system/bin/$APP_PROCESS_DEVICE `native_path $APP_PROCESS`
  20. log "Pulled $APP_PROCESS_DEVICE from device/emulator to $APP_PROCESS"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top