HMS-Core / hms-react-native-plugin

This repo contains all of React-Native HMS plugins.
https://developer.huawei.com/consumer/en/doc/overview/HMS-Core-Plugin?ha_source=hms1
Apache License 2.0
240 stars 68 forks source link

LocationKit 800 10808: AGC_CHECK_FAIL #151

Closed davidcwuiyung closed 2 years ago

davidcwuiyung commented 2 years ago

Not able to get LocationKit to work on Android Studio emulator or device. Getting {"errorCode":800,"errorMessage":"10808: AGC_CHECK_FAIL"} error message from any of the LocationKit API. I am expecting to get success response from the API. Error seems to vague, is there anyway I can check why AGC checked fails? Thank you

My references

Environment

Other

App.js image

VendorList.js image

package.json image

project build.gradle image

app build.gradle image image image

main AndroidManifest.xml image

davidcwuiyung commented 2 years ago

Manage to get it done using automate integration using HMS Toolkit. Still not sure which settings went wrong after followed exactly previously.

Resource: https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides/hms-toolkit-integrating-0000001150473975