18

I have previously shut down the react-native run-android still it gets stuck at 99% executing . I don't seem to find any solution to this .please helpenter image description here

sriram hegde
  • 2,301
  • 5
  • 29
  • 43
  • 1
    Have you try with killall node server and restart it? https://stackoverflow.com/questions/43604603/module-appregistry-is-not-registered-callable-module-calling-runapplication/51304124#51304124 – Brijesh Shiroya Jul 26 '19 at 09:27
  • yeah finally figured it out had to shut down my PC to get it right – sriram hegde Jul 26 '19 at 09:43

9 Answers9

48

Please, try this:

adb kill-server

adb start-server

5

In android device go to USB preference and select "File transfer" to fix this issue.

enter image description here

Kailash Uniyal
  • 878
  • 1
  • 10
  • 14
3

shutting down my mac after trying several commands, like the two above was the solution which worked for me.

2

Steps -

  1. Go to android studio
  2. Open AVD Manager
  3. Wipe data for the emulator
  4. Run = npx react-native run-android again
Nikhil Jain
  • 244
  • 3
  • 7
1

sudo lsof -i:8081 , kill -9 pid .

Sagar RS
  • 151
  • 3
  • 16
1

Deleting current virtual device and creating new device worked for me.

Tarik
  • 537
  • 4
  • 9
0

I tried with npm run android --stacktrace and it worked for me.

Muhammad Areeb
  • 139
  • 2
  • 5
0

Reason may be that Android has pending emulator update.

Tadas Talaikis
  • 121
  • 1
  • 2
  • 6
0

1-Run "gradlew clean" command under android folder.

For example : C:\workspace\myProject\android\gradlew clean

2-Then It'll be fixed when you start your emulator as below

npx react-native run-android