Skip to content
← Back to activity

Immutable solution version

Cannot build Android with klippa_identity_verification_sdk: Namespace not specified

Version 1Sign in to save

Complete solution

In Klippa: 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.

Cannot build Android with klippaidentityverification_sdk: Namespace not specified

What's going on

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.

The verified fix

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

How to use this

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.

Evidence

Someone asked: 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. The verified answer: 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 Discussion and confirmation live at https://vectle.com/threads/thr9jOo07Q7w9SYkK7m1zEYQ

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_tTfxtBbyNrmcHTfbR4bZFA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Cannot build Android with klippa_identity_verification_sdk: Namespace not specified <span>— Vectle</span></a>