Log Service SDK for Android encapsulates all API operations of Log Service. You can use Log Service SDK for Android to collect Android logs in a convenient manner.

Release notes

For more information, see aliyun-log-android-sdk.

Sample code

Log Service SDK for Android provides a variety of sample code for your reference and use. The following table provides links to the sample code.
GitHub source code Description
ProducerExample.java Examples on how to collect logs based on recommended collection configurations
ProducerWithDynamicConfig.java Examples on how to collect logs based on collection configurations in which no caches are included
ProducerWithNoPersistent.java Examples on how to collect logs based on collection configurations that can be dynamically updated