Running multiple emulators with the same AVD
时间: 2024-01-21 12:17:05 浏览: 474
Yes, it is possible to run multiple emulators with the same Android Virtual Device (AVD). Here are the steps:
1. Open Android Studio and go to the AVD Manager.
2. Select the AVD you want to use and click on the "Edit" button.
3. In the "Advanced Settings" section, change the "ADB Port" to a different value. For example, change it to 5557.
4. Click on the "Finish" button to save the changes.
5. Repeat these steps for each emulator instance you want to create, changing the "ADB Port" to a different value each time.
6. Once you have created all the emulator instances, open a command prompt or terminal window and navigate to the folder where the Android SDK is installed.
7. Enter the following command to start the first emulator instance:
```
emulator -avd <avd_name> -port 5555
```
Replace `<avd_name>` with the name of your AVD.
8. Open another command prompt or terminal window and enter the following command to start the second emulator instance:
```
emulator -avd <avd_name> -port 5556
```
Again, replace `<avd_name>` with the name of your AVD.
Repeat step 8 for each additional emulator instance you want to create, using a different port number each time.
That's it! You should now be able to run multiple emulators with the same AVD.
阅读全文
相关推荐



















