0xPolygonID/polygonid-flutter-sdk

Example app build issue in android

Closed this issue · 2 comments


FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:generateDebugBuildConfig'.
> Error while evaluating property 'namespace' of task ':app:generateDebugBuildConfig'
   > Failed to calculate the value of task ':app:generateDebugBuildConfig' property 'namespace'.
      > Failed to calculate the value of property 'namespace'.
         > org.xml.sax.SAXParseException; systemId: file: /polygonid-flutter-sdk/example/android/app/src/main/AndroidManifest.xml; lineNumber: 19; columnNumber: 37; Attribute "exported" bound to namespace "http://schemas.android.com/apk/res/android" was already specified for element "activity".

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 5s
Exception: Gradle task assembleDebug failed with exit code 1
Exited

android:exported="true"
android:exported="true"

added twice in the sdk..

fixed