All Products
Search
Document Center

Mobile Platform as a Service:Get UC kernel crash log

Last Updated:Dec 08, 2022
Important

This document is only used for debugging and support for existing UC SDK users. Due to product policy changes, UC SDK is no longer open for applications.

The UC kernel is native C code, and UCCrashSDK is required for getting the UC kernel. The SDK will be installed automatically when the UC kernel component is added.

To report the kernel crash to Mobile Analysis Service backend, you need to add the corresponding receiver in the Manifest file.

  <receiver
    android:name="com.alipay.mobile.common.logging.process.LogReceiverInToolsProcess"
    android:enabled="true"
    android:exported="false"
    android:process=":tools">
    <intent-filter>
      <action android:name="${applicationId}.monitor.command"/>
    </intent-filter>
  </receiver>

  <receiver
    android:name="com.alipay.mobile.logmonitor.ClientMonitorWakeupReceiver"
    android:enabled="true"
    android:exported="false"
    android:process=":push">
    <intent-filter>
      <action android:name="${applicationId}.push.action.CHECK" />
      <action android:name="${applicationId}.monitor.command" />
    </intent-filter>
  </receiver>
Note

When the UCCrashSDK is used, an authentication request will be sent to UC.Refer to Use third-party service data for more information.