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:1.+'
}
- Add permissions to app/src/main/AndroidManifest.xml
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
See our full manual
We also maintains a SDK for Java at
https://github.com/sensorsdata/sa-sdk-java