Skip to content

AssambleRelease build not working on android #234

@mksmanishp

Description

@mksmanishp

Task :react-native-print:checkReleaseAarMetadata FAILED

[Incubating] Problems report is available at: file:///Users/manish.kumar/Desktop/MBProject/mb-pro-app/android/build/reports/problems/problems-report.html

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':react-native-print:checkReleaseAarMetadata'.

A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
17 issues were found when checking AAR metadata:

   1.  Dependency 'androidx.appcompat:appcompat-resources:1.6.1' requires libraries and applications that
       depend on it to compile against version 33 or later of the
       Android APIs.
 
       :react-native-print is currently compiled against android-31.
 
       Recommended action: Update this project to use a newer compileSdk
       of at least 33, for example 36.
 
       Note that updating a library or application's compileSdk (which
       allows newer APIs to be used) can be done separately from updating
       targetSdk (which opts the app in to new runtime behavior) and
       minSdk (which determines which devices the app can be installed
       on).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions