Coding-free Integration of AppGallery Connect Crash into a Cocos-based App

1. Creating an App and Enabling the Crash Service

1.1 Setting a Cocos App ID

1.2 Enabling HUAWEI Analytics and Crash in Cocos Creator

1.3 Enabling HUAWEI Analytics and Crash in AppGallery Connect

2. Building and Installing an App

2.1 Releasing your app in AppGallery Connect

2.2 Releasing your app to an Android platform

3. Testing the Crash Service

testIt(): void
Sample code:
huawei.agc.crash.CrashService.testIt();

4. Viewing a Crash Report

4.1 Viewing crash statistics

4.2 Viewing crash stack details

4.3 Obtaining a readable crash report

Summary

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store