Hi,
I am attempting to upgrade to ReaderSDK 1.7.1 but I am finding that it is unable to build with my application due to some errors.
I have 2 red exclamation marks on
app:mergeDebugNativeLibs
One or more issues found when checking AAR metadata values.
When I check the merged manifest I see the following errors:
Warning Activity#com.squareup.ui.PaymentActivity was tagged at Android Manifest.xml:179 to remove other declarations but no other declaration present xxxxxxxx.main manifest (this file), line 178
Warning activity#com.squareup.ui.main.MainActivity was tagged at AndroidManifest.xml:182 to remove other declarations but no other declaration present xxxxxxxxxx.main manifest (this file), line 181
The previous ReaderSDK 1.5.1 built with my application with no problems. I don’t believe I have changed my application other than to upgrade the gradle build files.
I am using the latest Android Studio Dolphin 2021.3.1 Patch 1
I have followed the Square guidelines
build gradle project
dependencies {
classpath ‘com.android.tools.build:gradle:7.0.4’
build gradle app
target Sdk Version 31
minSdkVersion 24
android {
compileSdkVersion 31
buildToolsVersion “30.0.3”
packagingOptions {
doNotStrip “//libregister.so”
}
gradle-wrapper.properties
distributionUrl=https://services.gradle.org/distributions/gradle-7.4.2-bin.zip
Any help to resolve these errors would be appreciated.