adb woes...

Monkey Targets Forums/Android/adb woes...

_K_(Posted 2013) [#1]
Hi all, finally coming over from bb.
I would appreciate any help, I am new to Android.
I have the SDK,JDK,ANT, all that, but I recieve error:
'adb' is not recognized as an internal or external command,
operable program or batch file.
TRANS FAILED: TRANS Failed to execute 'adb start-server', return code=1

Upon investigation, I determined that the issue is that adb.exe has been moved from 'tools' to 'platform-tools'. However, manually ramming it and associated files back to tools has no effect.
Additionally, the emulator closes immediately.Fixed that. Hmmm.

What am I doing wrong? Thanks in advance. Please be explicit, this is my first non-pc thing.


TeaBoy(Posted 2013) [#2]
Hi _K_

I don't know whether you have solved this yet, apart from making sure your environment vars are setup correctly or your config file has the correct paths etc... not sure what could be happening, although I found this on the net, 'maybe' it could be of value.

http://androidforums.com/application-development/403340-adb-not-recognized-internal-external-command-operable-program-batch-file.html

Basically, they changed adb.exe to adb.exe.exe rebooted, then changed it back to adb.exe, strange but they said it worked for them.

Hope you sort things out.


_K_(Posted 2013) [#3]
Thank you, that helped that. However, it now tells me
'ant' is not recognized as an internal or external command,
operable program or batch file.
Hmm... even an 'ant' environment var
doesn't fix that. I will return with reports...


_K_(Posted 2013) [#4]
What the what, I er, uh..ok
Went to split wood, came back, and it reverted to original behavior.
SOS?


_K_(Posted 2013) [#5]
...---...
Nah. Ripped whole thing out, re-installed, made paths relative to {TRANSDIR} and it seems now all I'm missing is 'localsettings' or the like. Yay.
Now back to my workweek...
Thanks for the help Teaboy.


TeaBoy(Posted 2013) [#6]
Thank Google LOL

Computers are funny old things sometimes! Can you actually use Monkey now?


_K_(Posted 2013) [#7]
Oh, yeah. I've been running xna and html, now giving android a go. I guess I have been a closet Monkey user, coding experiments with the demo for... a good while. Finally bought the real thing. Do not/will not regret it.
Thanks again.