To test some things I need emulator with hms, but without gms.
Unfortunately,We don't support it now.
You can also use HMS Toolkit or Cloud Debugging to test your HMS app.
For Huawei emulator on Android Studio, you can install HMS Toolkit. As a lightweight IDE tool plugin, HMS Toolkit implements app creation, coding, conversion, debugging, test, and release. HMS Toolkit provides Cloud Debugging for you to perform 24/7 uninterrupted testing on your app running on remote real devices. With this function, you can learn about the running status of apps on Huawei devices anytime and anywhere even if no device is available, device types are not completed, or an error cannot be reproduced
Cloud Debugging can be used on a single device for 2 hours each time. Before the validity period expires, you can release the device and apply for the device again.
Note: To use Cloud Debugging, you need to sign in using the Huawei Account, complete identity verification, and then authorize the sign-in. Internet Explorer and Chrome are supported. This function applies only to the Chinese mainland, Asia Pacific, and West Europe.
1.You can install HMS Toolkit in either of the following ways:
- Use the Android Studio Marketplace
Open Android Studio, go to File > Settings > Plugins > Marketplace, enter HMS Toolkit in the search box, and click Install. After the installation is complete, restart Android Studio.
- Import the local plug-in package
1). Download the HMS Toolkit package.
2). Open Android Studio, go to File > Settings > Plugins, select Install Plugin from Disk, and finish subsequent steps. After the installation is complete, restart Android Studio.
2.Cloud Debugging
A. Go to HMS > Cloud Debugging.
B. On the Select Remote Device page, you can select a required device by Resolution, Android Version, EMUI Version, Series, and Others. Alternatively, you can use Available Devices.
C. Click the selected device.
D. On the menu bar, click Debug to debug or run the app on the device. You can also run ADB commands to perform operations. For details, please refer to ADB commands.