Reputation: 466
Scenario looks like this:
Is there any way to fix this? I mean use already built .apk file and install it immediately on newly plugged device?
Upvotes: 0
Views: 52
Reputation: 5287
This is because of the Instant Run feature introduced in Android 2.0. Because Instant Run has to convert your complete project into small and numerous dex files which are then transferred on the device/emulator and then build in place, every time you unplug and replug the device, Android Studio has to go through the whole process again.
Way around is this if you change devices frequently is to turn off Instant Run.
Upvotes: 0