Set up Android SDK versions
In the Clover device, you need to evaluate and test your Android app's SDK version to ensure device compatibility.
Minimum SDK
The minimum SDK version (minSdkVersion) is the earliest release of the Android SDK that your application can run on.
- For your app to be installed on all Clover devices, set the app's minimum SDK to
17. - For specific Clover devices, set the
minSdkVersionof your app based on the following table:
| Clover device | SDK version for specific devices |
|---|---|
| Station | 17; Use this version to allow your app to be installed on any Clover device. |
| Mini | 19 |
| Flex 1 | 22 |
| Mini 2 | 27 |
| Flex 3 Mini 3 Clover Station Duo 2 Clover Station Solo | 29 |
| Flex 4 Flex Pocket Clover Compact | 33 |
Target SDK
Note: While we recommend a targetSdkVersion of 25 or lower, higher versions are supported if thoroughly tested.
Android uses the target SDK version targetSdkVersion to determine which compatibility layers to enable for your app to run correctly.
Troubleshoot issues with target SDK level
Clover supports apps with a target SDK level of 25 or earlier.
Starting with SDK level 27, Android introduced the account access and discoverability policy, which explicitly requests access to Clover merchant accounts and disrupts the expected merchant flow. To make sure your apps function correctly and are approved for publication on the Clover App Market, set the targetSdkVersion to 25 or lower.
Compile SDK
Set the compile SDK version compileSdkVersion to the highest API level available from Google, as listed in the SDK Platform release notes. Your IDE uses this version to compile your app when you publish a .apk file. Using the highest available level ensures that all software libraries in your project compile successfully.
Updated 9 days ago
