The LicenseSpring Android SDK lets you implement license activation, entitlement enforcement, and usage tracking directly inside your Android application with no external licensing infrastructure to build or maintain.
LicenseSpring supports Android development across multiple SDKs. The dedicated Java-based Android SDK covers the broadest range of Android use cases, while the C++, .NET, and Unity SDKs also compile for Android, giving development teams flexibility to license every component of their product using a single platform.
ISO 27001 Certified
ISO 9001 Certified
Trusted by Software Vendors WorldwideThe Android SDK integrates as a mobile-ready library directly into your Java or Kotlin application. Once installed, you have full access to LicenseSpring's licensing infrastructure.
With the SDK, you can:
Activate and validate licenses at runtime: online, offline, or in air-gapped environments
Enforce node-locked, floating, and consumption-based licensing: using the model that fits your product
Gate features by entitlement: control access to functionality at the SDK level within your Android application
Run local license checks with configurable grace periods: define how long the SDK honors a cached license before requiring revalidation, so connectivity loss never interrupts active users
Bind licenses to hardware: generate persistent hardware IDs using multiple device fingerprinting algorithms suited to Android deployment environments
Manage multiple licenses on a single device: support separate license contexts within the same application installation
Track usage and activations: feed license telemetry back to the LicenseSpring platform in real time
Android powers far more than consumer smartphones. LicenseSpring's Android licensing support is designed for the full range of Android deployment contexts, from commercial mobile applications to IoT devices, robotics platforms, drones, and specialized hardware.
| Use Case | Description |
|---|---|
Commercial Mobile Apps | Add license validation to Android applications |
Enterprise Mobile Tools | Manage licensing for internal enterprise apps |
Mobile Companion Apps | Control licensing for mobile extensions of desktop software |
Usage-Based Apps | Track feature or API usage for consumption-based licensing |
Floating License Environments | Enable concurrent usage across multiple mobile users |
The Android SDK supports devices running Android 8.1 (Oreo — API Level 27) or later, ensuring compatibility with modern Android security and platform requirements.
LicenseSpring supports Android across multiple SDKs. Depending on your application's language, framework, and target environment, you may integrate via the dedicated Java Android SDK or one of the cross-platform SDKs that compile for Android.
The primary SDK for Android development. Built for Java and Kotlin applications, it covers the full range of Android licensing workflows, including activation, validation, floating licenses, offline support, and consumption tracking.
Install via Maven:
xml
<dependencies>
<dependency>
<groupId>com.licensespring</groupId>
<artifactId>androidsdk</artifactId>
<version>1.5.0</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>androidsdk</id>
<url>https://licensespring-android-sdk.s3.amazonaws.com/</url>
</repository>
</repositories>
Install via Gradle:
groovy
repositories {
mavenLocal()
maven {
url "https://licensespring-android-sdk.s3.amazonaws.com"
}
}
dependencies {
implementation(group: 'com.licensespring', name: 'androidsdk',
version: '1.5.0', ext: 'aar', classifier: 'release') {
transitive = true
}
}
The LicenseSpring C++ SDK compiles for Android, supporting arm64-v8a, armeabi-v7a, x86, and x86_64 ABIs via Android NDK 21.4, 26.1, and 27.2. The right choice for native C++ Android applications, embedded systems, and performance-critical components targeting Android API Level 24 and later.
The LicenseSpring .NET SDK supports Android through Xamarin.Forms, enabling licensing in cross-platform .NET mobile applications that target both Android and iOS from a shared codebase.
The LicenseSpring Unity SDK supports Android builds through Unity's standard Android export pipeline. The right choice for Unity-based applications, games, simulations, or training tools deployed to Android devices.
The Android SDK supports the full range of licensing workflows required for commercial Android products.
Floating license support: manage concurrent license usage across multiple users or shared devices
Offline and air-gapped activation: support disconnected activation flows for devices without persistent connectivity
Feature entitlement validation: gate features by license tier or entitlement at the SDK level
Consumption-based licensing: meter and enforce usage limits for API calls, feature usage, or custom units
Periodic license validation: schedule recurring online checks to keep license state current
Device-based license enforcement: bind licenses to specific Android devices using hardware fingerprints
Multi-license management: manage multiple license contexts within a single device installation
The Android SDK includes hardware fingerprinting support for device-bound licensing and node-locked activation. Multiple algorithms are available for computing a unique, persistent hardware identifier suited to Android deployment environments, whether a consumer mobile device, an IoT controller, a drone platform, or a purpose-built PoS terminal.
Generated hardware IDs are used for:
Node-locked license binding
Device identification and activation tracking
Consistent hardware fingerprinting across multi-SDK product deployments
Products that combine an Android component with other parts of their stack can use multiple LicenseSpring SDKs simultaneously.
All LicenseSpring SDKs share a common license file format and compute hardware identifiers using the same underlying logic. A license issued to a device is recognized consistently across every component of your product, regardless of which SDK each part uses.
The Android SDK fully supports deployments with limited or no internet connectivity with two distinct activation paths:
Offline activation: uses a file-exchange flow for environments with occasional or restricted connectivity
Air-gapped activation: uses a code-exchange flow for environments where no external data transfer is permitted
Stay current on new features, compatibility updates, bug fixes, and security enhancements via the Android SDK release notes.
Our developer support team can help you implement licensing quickly and securely.
Resources available:
Developer documentation
API reference documentation
Javadoc library documentation
Integration examples
Technical support