React-native-debugger: Android App gets stuck while running react native debugger

Created on 27 Feb 2017  路  9Comments  路  Source: jhen0409/react-native-debugger

React Native version: 0.39.2
Platform: Android
Is real device of platform: Yes
Operating System: Linux

-While debugging android application, app gets stuck often. Mostly, if we are using react native listview.
-Tried increasing the memory of the device, but it also doesn't work.
-Same application works fine with debugger on IOS platform.

more-information-needed

Most helpful comment

updated answer:
It seems like the browser direct to wrong ip address , the problem is solved by changing
http://10.0.3.2:8081/debugger-ui
to
http://localhost:8081/debugger-ui/


same issue here , I have react-native 0.55.4 fresh project

and when i start debugging , the browser start loading then it crash

 "dependencies": {
    "native-base": "^2.7.2",
    "react": "16.3.1",
    "react-native": "0.55.4",
    "react-navigation": "^2.9.3"
  },
  "devDependencies": {
    "babel-jest": "23.4.0",
    "babel-preset-react-native": "4.0.0",
    "jest": "23.4.1",
    "react-test-renderer": "16.3.1"
  },
  "jest": {
    "preset": "react-native"
  }

emulator error :

Unable to connect with remote debugger

Timeout while connecting to remote debugger
onFailure
    DevSupportManagerImpl.java:1031
onFailure
    WebsocketJavaScriptExecutor.java:83
run
    WebsocketJavaScriptExecutor.java:142
handleCallback
    Handler.java:789
dispatchMessage
    Handler.java:98
loop
    Looper.java:164
main
    ActivityThread.java:6541
invoke
    Method.java
run
    Zygote.java:240
main
    ZygoteInit.java:767


I can't update to 0.56 because .56 has an issue on windows

All 9 comments

i have the same issue after update.

Thanks for report! could you provide a small example let me reproduce it?

@hasanmumin are you using v0.6.0-beta2? Or just auto-updated to v0.5.6?

@jhen0409 i just updated to v0.5.6

@Raven11 Just out of curiosity, did you notice this while debugging with react-native-debugger "out-of-screen"? I noticed when debugging on Android (physical device in my case), navigations and animation transitions (using react-native-router-flux) are extremely slow and in some cases, the app is completely unresponsive until I move react-native-debugger back into screen view.

Close this because no more information provided for a long time. Please try the new version (0.7.1), it solved more problems.

Still doesn't work for me with the latest version 0.7.12 and RN0.48. Android app is stuck (or rather it loads and react very very slowly), screen is not loading, touch is not registering so I can't click, input boxes can't stay focused, when the debugger is on.

I'm running android on latest genymotion.

same issue here, still not resolved.

  • android studio emulator
  • react-native-cli: 2.0.1
  • react-native: 0.55.3

updated answer:
It seems like the browser direct to wrong ip address , the problem is solved by changing
http://10.0.3.2:8081/debugger-ui
to
http://localhost:8081/debugger-ui/


same issue here , I have react-native 0.55.4 fresh project

and when i start debugging , the browser start loading then it crash

 "dependencies": {
    "native-base": "^2.7.2",
    "react": "16.3.1",
    "react-native": "0.55.4",
    "react-navigation": "^2.9.3"
  },
  "devDependencies": {
    "babel-jest": "23.4.0",
    "babel-preset-react-native": "4.0.0",
    "jest": "23.4.1",
    "react-test-renderer": "16.3.1"
  },
  "jest": {
    "preset": "react-native"
  }

emulator error :

Unable to connect with remote debugger

Timeout while connecting to remote debugger
onFailure
    DevSupportManagerImpl.java:1031
onFailure
    WebsocketJavaScriptExecutor.java:83
run
    WebsocketJavaScriptExecutor.java:142
handleCallback
    Handler.java:789
dispatchMessage
    Handler.java:98
loop
    Looper.java:164
main
    ActivityThread.java:6541
invoke
    Method.java
run
    Zygote.java:240
main
    ZygoteInit.java:767


I can't update to 0.56 because .56 has an issue on windows

My app was stopped at 98 percent while running on device having android version 4.4.2, But after changing the device having 7.0 android version solved my problem.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jgcmarins picture jgcmarins  路  23Comments

jan-happy picture jan-happy  路  29Comments

eshikerya picture eshikerya  路  39Comments

pvpshoot picture pvpshoot  路  33Comments

freerangenerd picture freerangenerd  路  17Comments