Appium inspector for android on MAC os - why it does not working?

901 views
Skip to first unread message

Maria Machlowska

unread,
Nov 5, 2013, 4:11:11 AM11/5/13
to appium-...@googlegroups.com
I am doing everything like in this instruction (System Setup Android). I have followed also this bug, to start the inspector properly: "you'll need app path with the .apk, android package, android activity, and pre-launch application (from prefs)"

I am getting the following error:  Could not pre-launch appium: Error: Could not find adb in tools, platform-tools, or build-tools under "/Users/mariann/Desktop/adt-bundle-mac-x86_64-20130917/sdk/ "; do you have android SDK installed into this location?

I have my environment variables set in all shells (.bash_profile, .bashrc, .profile). Is there any way to start appium inspector for android?
I can't run my test properly, because it can not find an elements.

Thanks for all your ideas/advices.

Dan Cuellar

unread,
Nov 5, 2013, 10:45:36 AM11/5/13
to appium-...@googlegroups.com
Try setting the Android SDK path in your Appium.app preferences. I think this issue can sometimes happen with people that customize their shell too much or use something other than bash.

Maria Machlowska

unread,
Nov 5, 2013, 10:48:04 AM11/5/13
to Dan Cuellar, appium-...@googlegroups.com
Yes, I am using some other shells than bash unfortunately. I set the Android SDK path in Appium.app, it is the same path I have specified in my Android Developer Tools (Eclipse).
It doesn't work.


2013/11/5 Dan Cuellar <dancu...@gmail.com>

--
http://appium.io
---
You received this message because you are subscribed to a topic in the Google Groups "Appium-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/appium-discuss/Oxnj950Alx0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to appium-discus...@googlegroups.com.
Visit this group at http://groups.google.com/group/appium-discuss.
For more options, visit https://groups.google.com/groups/opt_out.

Jonathan Lipps

unread,
Nov 5, 2013, 1:08:54 PM11/5/13
to Maria Machlowska, Dan Cuellar, appium-...@googlegroups.com
Did you confirm that the adb binary is found in /Users/mariann/Desktop/adt-bundle-mac-x86_64-20130917/sdk/platform-tools/?

You received this message because you are subscribed to the Google Groups "Appium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to appium-discus...@googlegroups.com.

Maria Machlowska

unread,
Nov 6, 2013, 2:38:06 AM11/6/13
to Jonathan Lipps, Dan Cuellar, appium-...@googlegroups.com
Yes, it is. I've checked it one more time recently.


2013/11/5 Jonathan Lipps <jli...@gmail.com>

Jonathan Lipps

unread,
Nov 6, 2013, 2:33:17 PM11/6/13
to Maria Machlowska, Dan Cuellar, appium-...@googlegroups.com
Does the user you're running Appium as have permissions to read and execute those directories and files?

Maria Machlowska

unread,
Nov 7, 2013, 3:25:17 AM11/7/13
to Jonathan Lipps, Dan Cuellar, appium-...@googlegroups.com
Yes he has. I set this permission for him in directory informations options.


2013/11/6 Jonathan Lipps <jli...@gmail.com>

Jonathan Lipps

unread,
Nov 7, 2013, 1:08:48 PM11/7/13
to Maria Machlowska, Dan Cuellar, appium-...@googlegroups.com
What does it say when you ls -l from the command line on that directory?

Maria Machlowska

unread,
Nov 8, 2013, 4:05:12 AM11/8/13
to Jonathan Lipps, Dan Cuellar, appium-...@googlegroups.com
When I am typing ls -l in the console on the directory /Users/mariann/Desktop/adt-bundle-mac-x86_64-20130917/sdk/platform-tools/, I get the output below:
total 3352
-rw-rw----@  1 mariann  staff   226063 25 lip 16:50 NOTICE.txt
-rwxrwxr-x@  1 mariann  staff  1270784 25 lip 16:48 adb
drwxrwx---@  3 mariann  staff      102 25 lip 16:49 api
-rwxrwxr-x@  1 mariann  staff   208704 25 lip 16:48 fastboot
-rw-rw-r--@  1 mariann  staff       39 25 lip 16:48 source.properties
drwxrwx---@ 12 mariann  staff      408 25 lip 16:48 systrace



2013/11/7 Jonathan Lipps <jli...@gmail.com>

Jonathan Lipps

unread,
Nov 8, 2013, 12:10:28 PM11/8/13
to Maria Machlowska, Dan Cuellar, appium-...@googlegroups.com
Yeah those permissions look weird. I don't think we should be seeing the '@'.

Maria Machlowska

unread,
Nov 8, 2013, 1:03:41 PM11/8/13
to Jonathan Lipps, Dan Cuellar, appium-...@googlegroups.com
I don't know where should I change those permissions to fix it. ;/


2013/11/8 Jonathan Lipps <jli...@gmail.com>

Jonathan Lipps

unread,
Nov 8, 2013, 1:33:29 PM11/8/13
to Maria Machlowska, Dan Cuellar, appium-...@googlegroups.com
Maybe try re-downloading the ADT
Reply all
Reply to author
Forward
0 new messages