6

I am using Mi Note3, before that, I can run the code from react-native using react-native run-android and connect with my phone. Now cannot already. My MIUI version is 10.2, I already open Developer options, USB debugging, Install via USB and turn off the MIUI optimization.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
dipgirl
  • 648
  • 3
  • 17
  • 28

2 Answers2

11

This happens when you try to update a signed release build with a debug build for instance. apk cannot be installed because its signature is incompatible with the currently installed version.The solution is to uninstall the existing app from the device.

Aurangzaib Rana
  • 4,028
  • 1
  • 14
  • 23
2

Uninstall application once and then run command react-native run-android after connecting device.

shruti garg
  • 332
  • 3
  • 12