LicenseSpring

Software Licensing for Android Applications

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 Worldwide

Implement Android Licensing in Minutes

The 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

Not a LicenseSpring customer? Get your free account now.

Built for Android Across Mobile, IoT, and Specialized Hardware

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.

Common Use Cases

Use CaseDescription
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

Minimum Android Version

The Android SDK supports devices running Android 8.1 (Oreo — API Level 27) or later, ensuring compatibility with modern Android security and platform requirements.

SDK Options for Android Development

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.

Java Android SDK

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  
  }  
}  

C++ SDK: Android Support

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.

.NET SDK — Android via Xamarin

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.

Unity SDK — Android via Unity

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.

Android Licensing Capabilities

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

Hardware ID Generation

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

Cross-SDK Interoperability

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.

Offline and Air-Gapped Licensing

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

Both paths support local license validation with configurable grace periods, making the Android SDK suitable for IoT devices and robotics platforms with intermittent connectivity, enterprise mobile deployments with strict network policies, and any Android-based hardware where persistent server connectivity cannot be guaranteed.

Release Notes and SDK Updates

Stay current on new features, compatibility updates, bug fixes, and security enhancements via the Android SDK release notes.

Get Help Integrating the Android SDK

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

Add Professional Licensing to Your Android Application

The LicenseSpring Android SDK gives you the infrastructure to protect your software, enforce licensing policies, and monetize Android applications across every device and deployment environment you target.