This is the official Android SDK for Sensors Analytics.
- Add dependencies to app/build.gradle
apply plugin: 'com.android.application'
dependencies {
// ...
compile 'com.sensorsdata.analytics.android:SensorsAnalyticsSDK:latest.integration'
}
- Add permissions to app/src/main/AndroidManifest.xml
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
See our full manual
We also maintains a SDK for Java at
https://github.com/sensorsdata/sa-sdk-java