1

I have an application that depends on google services, i did too much migration in order to let the new Huawei phones run my application.

Unfortunately i couldn't test my application on emulator due to HMS core is missing, i have created a new Stock android image and i tried to install HMS core APK but the app could not be installed as the image here,

Unfortunately cloud debugging not serving me due to the huge services. and i need to see everything step by step. any solution expect that i buy a new phone without google services?

Basil Battikhi
  • 2,638
  • 1
  • 18
  • 34

3 Answers3

2

You can try HMS plugin Go to File-> Setting-> Plugins and search for HMS Toolkit and install it. Visit the article HMS Toolkit - Automatic HMS SDK Integration To know detail about HMS installation and usage.

Once you select debugging and choose devices you can select EMUI version from there.

Dharman
  • 30,962
  • 25
  • 85
  • 135
Nithin
  • 932
  • 7
  • 14
1

If you are using kits that do not depend on Huawei phones, such as Push Kit, ML Kit, Scan Kit, and In-App Purchases, you can download HUAWEI AppGallery on a non-Huawei phone and then run your app. In this case, you will be automatically guided to download and install HMS Core (APK) on AppGallery. You can also use the adb command to manually install HMS Core (APK) and then run your app for testing. For details, please refer to EMUI Version-Dependent Features.

If you are using kits that depend on Huawei phones, such as FIDO, Map Kit, and Health Kit, you can use Cloud Debugging to debug apps. (Cloud Debugging cannot debug code step by step.)

Work with Cloud Debugging at https://stackoverflow.com/a/63877454/14006527.

zhangxaochen
  • 32,744
  • 15
  • 77
  • 108
1

we can use android emulator before that you need to download latest HMS Core APK install into your emulator, all HMS kits doesn't supports. better you can go with cloud debugging or Install Hms plugin in your android studio use cloud debugging.

sujith E
  • 214
  • 1
  • 7