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.
<dependency>
<groupId>network.lightsail</groupId>
<artifactId>stellar-sdk-android-spi</artifactId>
<version>1.0.0</version>
</dependency>
implementation 'network.lightsail:stellar-sdk-android-spi:1.0.0'
The versions of java-stellar-sdk
and java-stellar-sdk-android-spi
should be maintained at the same version.
You can find instructions on how to install this dependency using alternative package managers here.
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.