The goal of this library is to enable users to conveniently integrate the Java Stellar SDK into lower versions of the Android platform. In this context, lower versions refer to Android API level 23 to 27. If your minSdk is set to 28 or higher, you do not need to include this library.
Use jitpack.io's Maven repository:
repositories {
maven { url "https://jitpack.io" }
}
dependencies {
implementation 'com.github.stellar:java-stellar-sdk:{version}'
implementation 'com.github.stellar:java-stellar-sdk-android-spi:{version}'
}
The versions of java-stellar-sdk
and java-stellar-sdk-android-spi
should be maintained at the same version.
The list of versions to install can be found in the Releases section. More information can be found in jitpack.io docs.
Download the latest jar from the GitHub repo's releases tab. Add the jar
package to your project according to how your environment is set up.