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

wireshark - USB mapping with python -

c++ - nodejs socket.io closes connection before upgrading to websocket -

Deploying Qt Application on Android is really slow? -