Difference between revisions of "Android Studio: HMS Console"

From OnnoWiki
Jump to navigation Jump to search
Line 33: Line 33:
  
 
* Download agconnect-services.json
 
* Download agconnect-services.json
 +
 +
a) Downloaded the agconnect-services.json file.
 +
b) Switch Android Studio to the Project view.
 +
c) Copy the agconnect-services.json file to the app root directory.
  
 
* Copy ke folder src
 
* Copy ke folder src

Revision as of 04:13, 9 March 2022

HMS Console penting untuk mengaktifkan HMS Kit. URL di,


Langkah membuat Aplikasi Menggunakan HMS Kit


  • Login Huawei Developer > Console
  • Klik "Distribution and promotion" di atas AppGallery Connect
  • Klik "AppGallery Connect"
  • Klik "My Projects"
  • Klik "Add project"
  • New project > Name : nama-project-yang-kita-buat (misal ITTS HMS Kit Test) > OK
  • Klik "Add app"
  • Isi:
Platform:         Android
Device:           Mobile Phone
App name:         ITTS HMS Kit Test
Package name:     nama.app.anda (contoh itts.onno.hms.kit.test)
App category:     App
Default language: Indonesian
  • Klik OK
  • Lakukan hal yang sama PERSIS di Android Studio, pastikan sama di
App name
Package name

Setup SDK

  • Download agconnect-services.json
a) Downloaded the agconnect-services.json file.
b) Switch Android Studio to the Project view.
c) Copy the agconnect-services.json file to the app root directory.
  • Copy ke folder src