Android studio rebuilds project after changing device (plugging new one) -


scenario looks this:

  1. i build project , launch on device
  2. i change device (unplug old 1 , plug new 1 usb)
  3. i run project , pick new device deployment target.
  4. android studio rebuilds project again

is there way fix this? mean use built .apk file , install on newly plugged device?

this because of instant run feature introduced in android 2.0. because instant run has convert complete project small , numerous dex files transferred on device/emulator , build in place, every time unplug , replug device, android studio has go through whole process again.

way around if change devices turn off instant run.


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -