1

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?

Majid Aziz
  • 64
  • 10

2 Answers2

0

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.

Dariusz Seweryn
  • 3,212
  • 2
  • 14
  • 21
0

This fixed my issue:

  1. In android/build.gradle moved maven { url 'https://www.jitpack.io' } respository to bottom after jcenter() instead of before jcenter()
  2. In Android Studio performed gradle sync
  3. Then executed react-native run-android.
FutureJJ
  • 2,368
  • 1
  • 19
  • 30