适用于华为移动服务的Android虚拟设备 [英] Android Virtual Device for Huawei Mobile Services
问题描述
我想将HMS应用于我的应用程序.但是,购买实际的华为手机不在我的候选清单中.华为是否为此目的提供了Android虚拟设备?如果没有,如何测试我的HMS实施是否有效?
是的,华为确实提供了一个名为
来自: https://stackoverflow.com/a/63389096/13329100
I want to apply HMS to my app. However, buying an actual Huawei phone is not on my shortlist. Does Huawei provide an Android Virtual Device for that purpose? If not, how to test if my implementation of HMS actually works?
Yes, Huawei do provide an Android Virtual Device called Cloud Debugging of AppGallery Connect to test your app for Huawei Devices.
Cloud Debugging tests your app using mainstream Huawei devices provided by Huawei. You can run your app on the latest and most popular Huawei devices to test app functions. Besides, you can debug apps on two real devices at the same time using one HUAWEI ID. Assume that you have applied for a device successfully.
Work with Cloud Debugging
- Sign in to AppGallery Connect and select My projects.
- Select an app to be tested.
- Go to Quality > Cloud Debugging.
- Filter devices by Series, Android version, EMUI version, and Resolution.
- In the Apply for device model dialog box that is displayed, set Debug duration based on your needs. The options are 30 min, 1 h, and 2 h.
- Wait for the device initialization to finish.
- Click the Debugging tab.
- Click Upload to upload an APK.
- Check the APK upload progress and install the APK after the upload is complete.
- In the displayed dialog box indicating that the app is being installed, click OK. When the installation is complete, you can see the app icon on the device screen on the left.
- Operate the device by moving or clicking your cursor on the device screen, or clicking the power button, home button, menu button, or back button. The device will respond like your own phone.
Check Screenshot below:
From: https://stackoverflow.com/a/63389096/13329100
这篇关于适用于华为移动服务的Android虚拟设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!