Friday, May 8, 2015

Reload Android application in emulator without restarting emulator in Eclipse



In Eclipse go to Run -> Run Configuration ...
For the very first time you need to set the following highlighted option because you don't have any emulator already launched. enter image description here
After the first run now you have an emulator already running. Now when you make a change again go to Run -> Run Configuration ...
and Set the following highlighted option: enter image description here
Now the already running emulator will be used every time to relaunch your application and it takes a way less time.
Note: Every time before clicking the Run button press the back button in your emulator once. So, your application is no more running on emulator. Otherwise you might see the following warning:
Warning: Activity not started, its current task has been brought to the front

No comments:

Post a Comment