Supported Android version is 2.3 (API level 9) or greater. The SDK is currently using buildtools version 23.0.2
The SDK can be built using the gradle wrapper included by running the following command(assuming that the android-sdk is installed):
./gradlew -p SPiDSDK build
The compiled library will be located in SPiDSDK/build/libs/
The SDK can also be installed to your local maven repository with the following command:
./gradlew -p SPiDSDK uploadArchives
If you would like to use external repository you have to modify your application build.gradle file
repositories {
maven { url 'https://raw.github.com/schibsted/sdk-android/master/SPiDSDK/repo/' }
}
dependencies {
compile 'no.schibstedpayment:SPiD-Android:1.3.7@aar'
}
For information and the development guides see our Documentation.