Error after updating Android Gradle to 4.2.0
See original GitHub issueConfiguration
- Version: 0.8.1
- Integration: native Kotlin
Issue Description
After updating Android Studio to 4.2.0 and Android Gradle to 4.2.0 I started getting the error, just when running the unit tests
Manifest merger failed : Attribute data@scheme at manifestMerger8985243458617216070.xml requires a placeholder substitution but no value for <appAuthRedirectScheme> is provided.
Just some context, I have all the AppAuth related stuff in a separate model, called authorization
.
In that module it’s defined the manifestPlaceholders
android {
default {
manifestPlaceholders = [
'appAuthRedirectScheme': 'xxx',
]
}
}
and also in the main app module I have the manifestPlaceholders
.
when I run ./gradlew :authorization:testDebugUnitTest
I get that error
Manifest merger failed : Attribute data@scheme at manifestMerger8985243458617216070.xml requires a placeholder substitution but no value for <appAuthRedirectScheme> is provided.
If I downgrade the Gradle to 4.1.3 everything runs fine.
Also, running the app in a device, no problems, just when running the tests.
Any ideia what’s happening ? Thanks
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top GitHub Comments
I’ve managed to make it work with this
@tallnato That’s what mine looks like as well. So far it seems to work fine