Skip to content
This repository was archived by the owner on Aug 21, 2020. It is now read-only.
This repository was archived by the owner on Aug 21, 2020. It is now read-only.

Could not find com.android.support:appcompat-v7:${supportVersion}. #332

@pothos-dev

Description

@pothos-dev

Version

Tell us which versions you are using ( you can see the versions in your package.json ):

react-native-audio : 4.3.0
gradle-wrapper: 4.10.1
gradle: 3.3.0

Expected behaviour :

./gradlew app:build correctly builds the Android native code.

Actual behaviour

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all files for configuration ':react-native-audio:debugCompileClasspath'.
> Could not find com.android.support:appcompat-v7:${supportVersion}.
  Required by:
      project :react-native-audio

The culprit here seems to be the usage of single quotes in build.gradle, which will not substitute the variable ${supportVersion}. After converting the quotes to double quotes, the library compiles.

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