0

When the Huawei APM SDK is integrated, there was no app performance data on the App performance management page. I wanted to locate the problem based on the Logcat logs on the device.

However, I'm not sure where these logs are kept or if I have to enable them in some way?

DevWithZachary
  • 3,545
  • 11
  • 49
  • 101

1 Answers1

0

I checked the APM documentation and found out how to access the logs:

Open the AndroidManifest.xml file of the app, and add the meta-data element to the application.

<application>  
    <meta-data 
      android:name="apms_debug_log_enabled" 
      android:value=" true" /> 
</application>

After the APM debug log function is enabled, you can use the Logcat log filter function com.huawei.agc.apms or apms to view the logs.

DevWithZachary
  • 3,545
  • 11
  • 49
  • 101