In Eclipse, go to Run -> Run Configuration ...
The first time you need to set the next highlighted parameter, because you do not already have an emulator running. 
After the first launch, you now have an emulator running. Now that you have made the changes, go to Run -> Run Configuration ...
and set the following highlighted option: 
Now the already running emulator will be used every time to restart the application, and this takes less time.
Note. Each time, before clicking the Run button, press the back button in your emulator once. Thus, your application no longer works on the emulator. Otherwise, you may see the following warning:
Warning: activity is not running, its current task has been brought to the fore
Adil Malik Jul 21 2018-12-21T00: 00Z
source share