Skip to main content

Prerequisites

  • Android Gradle Plugin and Kotlin versions supported by your Flutter template
  • minSdk 26 and compileSdk 34 (required for AIR Kit)
Create or edit android/app/src/main/res/values/strings.xml:
Reference the resource from AndroidManifest.xml inside <application>:

App signing and allowlisting

Provide your app’s SHA-256 signing certificate fingerprint and package name to Moca for allowlisting (debug and release may differ). Use keytool:

minSdk and compileSdk

In your app-level Gradle file (Kotlin DSL or Groovy), set at least:

Network security config

Optional: add android/app/src/main/res/xml/network_security_config.xml for TLS and (if needed) local dev domains:
Point <application> to it:

Permissions

Typical requirements:

ProGuard / R8

If you minify release builds, add keep rules for AIR Kit, WebView, and crypto dependencies. Verify package names against your resolved dependencies after flutter pub get:

Verify the build

Troubleshooting

More help: Flutter troubleshooting and SDK issues.

Next steps

Reference