Driversnote-Dev / react-native-kontaktio

React Native (iOS and Android) library for Kontakt.io beacons (and all other beacons)
MIT License
112 stars 48 forks source link

Android build issues #83

Closed nathander closed 2 years ago

nathander commented 2 years ago

I followed the setup instructions given here but I'm getting the following error when I run npx react-native run-android. Is there a step I'm missing?

Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not find com.kontaktio:sdk:5.0.0.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/com/kontaktio/sdk/5.0.0/sdk-5.0.0.pom
       - file:/C:/Users/me/.m2/repository/com/kontaktio/sdk/5.0.0/sdk-5.0.0.pom
       - file:/Z:/CodeProjects/BeaconsReactNative/node_modules/react-native/android/com/kontaktio/sdk/5.0.0/sdk-5.0.0.pom
       - file:/Z:/CodeProjects/BeaconsReactNative/node_modules/jsc-android/dist/com/kontaktio/sdk/5.0.0/sdk-5.0.0.pom
       - https://dl.google.com/dl/android/maven2/com/kontaktio/sdk/5.0.0/sdk-5.0.0.pom
       - https://www.jitpack.io/com/kontaktio/sdk/5.0.0/sdk-5.0.0.pom
     Required by:
         project :app > project :react-native-kontaktio
AnnaNaouni commented 2 years ago

Hello! Having the same issue here... Is there any chance @nathander's PR to be merged soon? I tried it too and it seems to solve the build issue 🙂