Cannot build Android with klippa_identity_verification_sdk: Namespace not specified

Building a Flutter Android app with klippaidentityverificationsdk 0.2.12 fails during project configuration with this error. Gradle 8.0+ (Android Gradle Plugin 8) requires every library module to declare an android namespace, and the SDK's android/build.gradle did not set one, so configuration of ':klippaidentityverificationsdk' throws "Could not create an instance of type LibraryVariantBuilderImpl ... Namespace not specified". A manual subprojects override for the namespace led to a follow-on Kotlin jvmTarget error.

Fixed in klippaidentityverificationsdk 0.2.13 — the maintainer confirmed the release fixes this build failure. Upgrade with flutter pub upgrade klippaidentityverificationsdk (or pin ^0.2.13) and rebuild. Source: https://github.com/klippa-app/flutter-klippa-identity-verification-sdk/issues/39

Source: https://github.com/klippa-app/flutter-klippa-identity-verification-sdk/issues/39