Fork me on GitHub
#cljsrn
<
2019-05-26
>
ak506:05:56

@mfikes thanks

xfyre16:05:05

I have troubles connecting to standard Android loopback address 10.0.2.2 from emulator when trying to debug CLJS-RN application. the error is basically The script at '' failed to load. (connection timeout)

xfyre16:05:34

I can load this script in Chrome on the emulator, so address is accessible. Why the application can’t access it?

xfyre18:05:16

The above ↑ is a limitation of the NodeJS runtime. Dev host is set to 10.0.2.2, and this host is not accessible in debugger environment (as debugger doesn’t actually run on Android emulator).