Can't launch appium inspector for android

hi everyone,
working with appium.app 1.5.3
on mac sierra

getting the next error

Error: getaddrinfo ENOTFOUND localhost localhost:5554
at errnoException (dns.js:28:10)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)

please advice.

with android use native “UI Automator Viewer” somewhere here - “Android/sdk/tools/uiautomatorviewer”

thanks for the quick answer but how do i configure the appium.app to do so? i am new to appium.
thanks,

if you want to inspect any page on android:

  • install andorid studio
  • run your client on device/simulator
  • start inspector -> push second icon in menu and select device (if you have more then 1 devices connected to computer)

@Aleksei still get this error

add 127.0.0.1 localhost in your host (private/etc/hosts) file and run the code

that maybe will solve it in my code but i want to use appium.app how will it help me?

i do not understand you are talking about Android but asking about “appium.app” which is iOS. is it?

or you are talking about Appium GUI version for Mac which is OLD 1.5.3? then you should forget about it to start on sierra…

i am talking about appium gui, why should i forget about it?

cause it is OLD and last commit is in JUNE. until next version will be released i guess no easy way to start it.

so do you have an article or tutorial for working with appium without using the gui? because i found examples only with gui? thanks for all the answers

well. move to npm version. it is same as GUI but without visual UI. i do not use GUI for year or more.

to start appium just execute: “appium” in command line.
to inspect Android client use native - “UI Automator Viewer”
to inspect iOS - i use “driver.getPageSource()” command in appium code

where do you get all information as you got in the inspector in appium gui?