Android native, manifest-merge problem during quickstart-setup

Hi there!
Im following the quickstart for a native android app.
Got application-keys, added to strings.xml.
Added callback url in auth0 ui.
Added android.permission.INTERNET to Manifest.xml
Added Auth0 dep in build.gradle and after that I get a error:

Android resource linking failed
/Users/xx/AndroidStudioProjects/MyAppName/app/build/intermediates/merged_manifests/debug/AndroidManifest.xml:13: error: unexpected element found in .

My build.gradle file:

apply plugin: ‘com.android.application’

android {
compileSdkVersion 29
defaultConfig {
applicationId “com.myappname.android”
minSdkVersion 29
targetSdkVersion 29
versionCode 2
versionName “1.0”
testInstrumentationRunner “android.support.test.runner.AndroidJUnitRunner”
manifestPlaceholders = [auth0Domain: “@string/com_auth0_domain”, auth0Scheme: “demo”]
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile(‘proguard-android-optimize.txt’), ‘proguard-rules.pro’
}
}
}

dependencies {
implementation fileTree(dir: ‘libs’, include: [‘*.jar’])
implementation ‘com.android.support:design:29.1.0’
implementation ‘com.android.support.constraint:constraint-layout:1.1.3’
implementation ‘com.auth0.android:auth0:1.+’
testImplementation ‘junit:junit:4.12’
androidTestImplementation ‘com.android.support.test:runner:1.0.2’
androidTestImplementation ‘com.android.support.test.espresso:espresso-core:3.0.2’
}

Any ideas?

Solved by upgrading gradle… You may want to add a note here in the quickstart…

1 Like

Thanks for sharing that with the rest of community. I’ll relay that to appropriate team!

1 Like

The GitHub issue for that can be found here:

https://github.com/auth0-samples/auth0-android-sample/issues/92

It’s bee fixed. More on that here:

https://github.com/auth0-samples/auth0-android-sample/pull/93