Skip to content

Execution failed for task ':react-native-spotify-remote:bundleReleaseAar' when running assembleRelease #90

@diegoareval

Description

@diegoareval

Hello there!

Whenever I try to generate a release of my app (using ./gradlew assembleRelease), I get the following error:

Task :react-native-spotify-remote:bundleReleaseAar FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':react-native-spotify-remote:bundleReleaseAar'.

Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android resources from any local .aar file dependencies would not be packaged in the resulting AAR. Previous versions of the Android Gradle Plugin produce broken AARs in this case too (despite not throwing this error). The following direct local .aar file dependencies of the :react-native-spotify-remote project caused this error: /Users/user/Desktop/projects/coco/movil/cocolanguagemobile/node_modules/react-native-spotify-remote/android/external/SpotifySDK/auth-lib/spotify-auth-release-1.2.1.aar, /Users/user/Desktop/projects/coco/movil/cocolanguagemobile/node_modules/react-native-spotify-remote/android/external/SpotifySDK/app-remote-lib/spotify-app-remote-release-0.7.0.aar

Any idea of what is wrong? Thank you very much!

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