From 724b750308c43138b8e523462967577c1ba3b6be Mon Sep 17 00:00:00 2001 From: Joy A Date: Thu, 13 Jun 2024 18:29:11 +0530 Subject: [PATCH] #0 | Document fallback host loopback interface ip - fix inadvertent space --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 80b8c781c..6a8f07c17 100644 --- a/Makefile +++ b/Makefile @@ -55,7 +55,8 @@ ip:=$(shell ifconfig | grep -A 2 'vboxnet' | grep 'inet ' | tail -1 | xargs | cu ip:=$(if $(ip),$(ip),$(shell ifconfig | grep -A 2 'wlp' | grep 'inet ' | tail -1 | xargs | cut -d ' ' -f 2 | cut -d ':' -f 2)) ip:=$(if $(ip),$(ip),$(shell ifconfig | grep -A 2 'en0' | grep 'inet ' | tail -1 | xargs | cut -d ' ' -f 2 | cut -d ':' -f 2)) ip:=$(if $(ip),$(ip),$(shell ifconfig | grep -A 4 'en0' | grep 'inet ' | tail -1 | xargs | cut -d ' ' -f 2 | cut -d ':' -f 2)) -ip:=$(if $(ip),$(ip),10.0.3.2) #Fallback for host loopback interface. 10.0.3.2 is for genymotion using virtualbox. try 10.0.2.2 if not using genymotion. https://developer.android.com/studio/run/emulator-networking +#Fallback for host loopback interface. 10.0.3.2 is for genymotion using virtualbox. try 10.0.2.2 if not using genymotion. https://developer.android.com/studio/run/emulator-networking +ip:=$(if $(ip),$(ip),10.0.3.2) AVNI_HOST?=$(ip) sha:=$(shell git rev-parse --short=4 HEAD)