Mendix Native android build fails

5
While running from the android studio, i am facing the below issue Manifest merger failed : Overlay manifest:package attribute declared at AndroidManifest.xml:4:5-40 value=(com.mendix.nativetemplate)    does not match the module's namespace (com.xxapp.app).    Suggestion: remove the overlay declaration at AndroidManifest.xml.    If you want to customize the applicationId for a buildType or productFlavor, consider setting applicationIdSuffix or using the Variant API.    For more information, see https://developer.android.com/studio/build/build-variants
asked
2 answers
3

Hi Lijo,

 

I had the same error message, I resolved it by changing the namespace in the build.gradle file under the folder android/app

 

I changed the namespace to "com.mendix.nativetemplate"

 

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_11
        targetCompatibility JavaVersion.VERSION_11
    }
    namespace "com.mendix.nativetemplate"
    defaultConfig {
        applicationId

Maybe you can give this a try also, and see if it resolves your issue.

 

Best regards,

 

Taner.

answered
1

This issue has been fixed by mendix

please update Mendix Native Mobile Builder version 1.0.131

answered