The use of Android Tencent bugly

Integrate official document address: Click to open the link

https://bugly.qq.com/docs/user-guide/instruction-manual-android/?v=20170912151050#sdk


Modify to join x86

ndk {
     // Set the supported SO library architecture
     abiFilters 'armeabi' , 'x86' //, 'armeabi-v7a', 'x86_64', 'arm64-v8a'
 }
 
 


            case R.id.btnTestJavaCrash: // Click to test Java Crash
                CrashReport.testJavaCrash ();
                break;
            case R.id.btnTestANRCrash: // Click to test ANR Crash
                CrashReport.testANRCrash();
                break;
            case R.id.btnTestNativeCrash: // Click to test Native Crash
                CrashReport.testNativeCrash ();
                break;

The codes are crash capture, application upgrade, hot update usage example, and hot update one-click access example.

   https://github.com/BuglyDevTeam/Bugly-Android-Demo


https://github.com/vell001/BetaSDKDemo


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325986531&siteId=291194637