'Could not resolve com.github.Polidea:MultiPlatformBleAdapter:0.1.7
How to fix this problem after install react-native-ble-plx.Is there any solution for direct react native installation instead of bridging native modules?
Solution 1:[1]
You need to follow the configuration process — without the 2. npx react-native link react-native-ble-plx step as autolinking should work. Other steps are needed though.
Solution 2:[2]
This fixed my issue:
- In android/build.gradle moved
maven { url 'https://www.jitpack.io' }respository to bottom afterjcenter()instead of beforejcenter() - In Android Studio performed gradle sync
- Then executed
react-native run-android.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Dariusz Seweryn |
| Solution 2 | FutureJJ |
