E0200: android build failed in last release fuselibs 2.5.0
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:checkReleaseAarMetadata'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
> The minCompileSdk (31) specified in a
dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
is greater than this module's compileSdkVersion (android-30).
Dependency: androidx.appcompat:appcompat:1.4.2.
AAR metadata file: /Users/cristiankarmyguzman/.gradle/caches/transforms-3/57905ae74dacc203e8752f7605203c0a/transformed/appcompat-1.4.2/META-INF/com/android/build/gradle/aar-metadata.properties.
Solved by updating Uno to 2.5.0
"dependencies": {
"@fuse-open/fuselibs": "^2.5.0",
"@fuse-open/uno": "^2.5.0",
"fuse-sdk": "^2.5.0"
}
But now I have another error!:
android:exported needs to be explicitly specified for element <activity#com.goodfactory.luuk.luuk>. Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.
android:exported needs to be explicitly specified for element <service#com.fuse.PushNotifications.PushNotificationReceiver>. Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.
Solved editting the manifest and include android:exported=“true” in the services and activity tags