Created by: kageiit
Fixes #1374 (closed), #1369 (closed)
It seems latest versions of adb in platform tools switched to use localhost
instead of hardcoded 127.0.0.1
to ipv6 compatibility. However this makes ports forwarded via adb forward
unavailable for anyone trying to connect via localhost
if they are on a VPN.
This workaround changes the hardcoded usage of localhost
to be set to 127.0.0.1
for exopackage installs to proceed correctly.
Note: This is the only hardcoded usage of localhost
in src/com/facebook/buck/android`