loading...

Debug your application on any HMS Supported Model using HMS Toolkit Cloud Debugger - No Real Device Required

irene83018774 profile image Irene ・3 min read

Introduction

So you have built a wonderful application but how to test it.Or do you want to test you application on a specific device.
Let us meet your new friendly developer tool HMS Toolkit. This tool provide us the functionality of Cloud Debugging.

HMS Toolkit Installation:

If you have not yet installed HMS Core Toolkit then please go to below link to download the latest version of it before proceeding further into the article.
https://developer.huawei.com/consumer/en/doc/development/Tools-Library/toolkit-download-0000001050148172

Once downloading is done for the plugin you can directly install it via Install Plugin from disk option.
After installation it should show like below.
By the time of writing this article the latest version was 3.0.1.300.
Alt Text

Let’s Start with Cloud Debugging

Step by step I will guide you on how you can use this tool to test and debug your application without a real Huawei Device.

Step 1: Go to HMS and click Cloud Debugging as shown below.
Alt Text
Cloud debugging needs a user login in order to provide access to real devices. Hence you will be redirected to a URL where you need to confirm your identity for a successful login.

Step 2: Login and allow the service.
Alt Text
Once the service is allowed you will get a success message and your android studio will get access to real remote devices.

Step 3: If this screen is not opened click on cloud debugging in right sidebar.

  • Filters are available as highlighted below to get a specific device.
  • You can also check the availability of device by checking Available Devices
  • Once the list of device is available choose any one and proceed. Alt Text

Step 4: Below should be the result after filter selection. Click Run and start the device.
Alt Text
A device should appear which can be accessed by sidebar. Default testing time is 2 Hours but if your testing require more time you can choose the same device once again after it gets released automatically
Alt Text
Let us see what all configurable options are given to us with this cloud debugger.

Screen Resolution:

Different resolution for a device are mentioned.
My recommendation – If your internet connection is good then goAlt Text

Screen Size:

You can also control screen size between 75%, 100% and 125%. To do that see the below screenshot.
Alt Text
Apart from this all three navigation buttons are provided to you for better control.

Conclusion

I hope you this article had given some insights in cloud Debugging.
In case you face any issue in the installation process do comment.
PS: You can also use this while presenting your screen, it doesn’t consume resources like how android emulator would do.

References

Get Application Insights and start Improving your application in minutes using HMS Toolkit Cloud Testing
https://forums.developer.huawei.com/forumPortal/en/topicview?tid=0202336737782030053&fid=0101188387844930001

HMS Toolkit - Automatic HMS SDK Integration
https://forums.developer.huawei.com/forumPortal/en/topicview?tid=0201249144855100206&fid=0101188387844930001

HMS Toolkit Convertor - Your New Best Friend for Migration
https://forums.developer.huawei.com/forumPortal/en/topicview?tid=0201222324451440007&fid=0101187876626530001

Posted on by:

Discussion

markdown guide