Preparing your Android App

While almost any APK or AAB can be uploaded to Counterspy for protection, there are a few things to keep in mind when building your app:

  • The minSDK API level must be set to 24 or higher. For most Android Studio projects the minSdkVersion value is set in defaultConfig section of the app's build.gradle file.
    The targetSDK API level must be in the range supported by Counterspy. See Features and Supported Platforms for which target Android versions are supported. For most Android Studio projects the targetSdkVersion value is set in defaultConfig section of the app's build.gradle file.

  • The app must have android.permission.INTERNET enabled. The INTERNET permission can be added to the app's AndroidManifest.xml.

  • The app must be built in release mode with no debug symbols. This is the default with Android Studio projects when creating a Release build.

Also note that the app must not be protected with a third-party tool (with the exception of Proguard/R8 minification), and protecting Google applications (App ID starting com.google.*) is not supported.