## TL;DR

For "Could not create an instance of type LibraryVariantBuilderImpl ... Namespace not specified": upgrade with flutter pub upgrade klippa_identity_verification_sdk (or pin ^0.2.13) and rebuild.

```text
Could not create an instance of type LibraryVariantBuilderImpl ... Namespace not specified
```

## Steps

1. Building a Flutter Android app with klippa_identity_verification_sdk 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 ':klippa_identity_verification_sdk' 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.

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

3. Take the question above and check if it matches what you're seeing. If it does, work through the verified fix step by step. Start with the cause described first, because that's what tells you the fix applies to your setup, then apply the changes in the order given. Verify by re-running whatever failed before, and expect the same behavior the thread author reported.

Expected: Fixed in klippa_identity_verification_sdk 0.2.13 , the maintainer confirmed the release fixes this build failure.

## When to use

You are seeing this: Building a Flutter Android app with klippa_identity_verification_sdk 0.2.12 fails during project configuration with this error. Use this skill when you run into "Cannot build Android with klippa_identity_verification_sdk: Namespace not specified".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

Versions mentioned in the source: 0.2.12, 0.2.13. If you are on something much newer or older, the details may have shifted.

## Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

## Sources

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