Skip to content

ihealth_ihealthlibrary-react-native dependency errorΒ #2

@dhawalsonawaneH

Description

@dhawalsonawaneH

I installed the iHealth library for react native. After installation, when I run my project on Android device, I get the following error:

* What went wrong:
Could not determine the dependencies of task ':app:mergeDebugAssets'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
   > Could not find no.nordicsemi.android:dfu:1.6.1.
     Searched in the following locations:
       - file:/Users/Dhawal.Sonawane/Dev/Mobile/IHTest/node_modules/react-native/android/no/nordicsemi/android/dfu/1.6.1/dfu-1.6.1.pom
       - file:/Users/Dhawal.Sonawane/Dev/Mobile/IHTest/node_modules/jsc-android/dist/no/nordicsemi/android/dfu/1.6.1/dfu-1.6.1.pom
       - https://repo.maven.apache.org/maven2/no/nordicsemi/android/dfu/1.6.1/dfu-1.6.1.pom
       - https://dl.google.com/dl/android/maven2/no/nordicsemi/android/dfu/1.6.1/dfu-1.6.1.pom
       - https://www.jitpack.io/no/nordicsemi/android/dfu/1.6.1/dfu-1.6.1.pom
     Required by:
         project :app > project :ihealth_ihealthlibrary-react-native

My package versions:
"@ihealth/ihealthlibrary-react-native": "^1.5.1",
"react": "17.0.2",
"react-native": "0.68.2"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions