Ok so, my old HD crashed, completely unrecoverable. I now have a new laptop with W7HP. I set up the SDK folder and when I try to do ADB commands it fails. I get - ADB is not recognized as an internal or external command, operable program or batch file.
Can anyone help me?
Pauper7 said:
Ok so, my old HD crashed, completely unrecoverable. I now have a new laptop with W7HP. I set up the SDK folder and when I try to do ADB commands it fails. I get - ADB is not recognized as an internal or external command, operable program or batch file.
Can anyone help me?
Click to expand...
Click to collapse
R u in the sdk tools folder or have u set it up to run adb from any folder. If not that could be a reason why. Also make sure u install the Java jdk and jde files too.
Papa Smurf151 said:
R u in the sdk tools folder or have u set it up to run adb from any folder. If not that could be a reason why. Also make sure u install the Java jdk and jde files too.
Click to expand...
Click to collapse
I was following the instructions in this thread here - (Regaws ROOT instructions)
http://forum.xda-developers.com/showthread.php?t=694572
My phone is Rooted already. Im currently running on Darch's Froyo Nightly 8/23.
Also, I am not sure what you mean by the Java jdk and jde files...
Pauper7 said:
I was following the instructions in this thread here - (Regaws ROOT instructions)
http://forum.xda-developers.com/showthread.php?t=694572
My phone is Rooted already. Im currently running on Darch's Froyo Nightly 8/23.
Also, I am not sure what you mean by the Java jdk and jde files...
Click to expand...
Click to collapse
In order for adb to work I believe u need to install the Java development kit and Java runtime environment. U can find them both at either the Java webisite (Google search for Java JdK) or in my thread everything android in the dev forum. Which is a package of all the tools u need to mess with ur phone. Either way I believe that the Java stuff needs to be put on first
You need to have the tool folder in the path setting on your computer and the android sdk installed.
Or actually be in the tool folder directly.
That should be all that's needed.
Sent from my HTC Desire using XDA App
Papa Smurf151 said:
In order for adb to work I believe u need to install the Java development kit and Java runtime environment. U can find them both at either the Java webisite (Google search for Java JdK) or in my thread everything android in the dev forum. Which is a package of all the tools u need to mess with ur phone. Either way I believe that the Java stuff needs to be put on first
Click to expand...
Click to collapse
Found the Java stuff. do I extract it INTO the android tools folder or just right to the c Drive?
Just install java on your pc & make sure your path is set for the sdk & see where that puts you.
Sent from my phone.
had the same exact issue. all it did to fix it was:
re-unpack the sdk to the C:\ drive
install the HTC sync from the root thread you posted
REBOOT COMPUTER
plus in phone let it do its thing with drivers and such
and BOOM working.
Windows 7 x64
Related
I am trying to get DDMS working so I can send cmd line code to my phone via the desktop pc. I installed Eclipse IDE and added Android SDK. Someone in another thread said you get a DDMS tab with an icon. I dont see this. I also tried running the DDMS.bat in the "Tools" folder in SDK dir and get this message.
'java' is not recognized as an internal or external command,
operable program or batch file.
SWT folder '' does not exist.
Please set ANDROID_SWT to point to the folder containing swt.jar for your platfo
rm.
androidmonkey said:
I am trying to get DDMS working so I can send cmd line code to my phone via the desktop pc. I installed Eclipse IDE and added Android SDK. Someone in another thread said you get a DDMS tab with an icon. I dont see this. I also tried running the DDMS.bat in the "Tools" folder in SDK dir and get this message.
'java' is not recognized as an internal or external command,
operable program or batch file.
SWT folder '' does not exist.
Please set ANDROID_SWT to point to the folder containing swt.jar for your platfo
rm.
Click to expand...
Click to collapse
well for starters, do you have either the java idk or ire (forget which one you need)
but once you have java installed then just open up command prompt and then
1. if you already have the folder where you're tools are located set up in Environment Variables you can just type ddms
2. otherwise cd to the folder where ddms is located and then once you're there, type ddms
xidominicanoix said:
well for starters, do you have either the java idk or ire (forget which one you need)
but once you have java installed then just open up command prompt and then
1. if you already have the folder where you're tools are located set up in Environment Variables you can just type ddms
2. otherwise cd to the folder where ddms is located and then once you're there, type ddms
Click to expand...
Click to collapse
Thanks, my Environment Variables wasnt setup. Any ideas why the install didnt do this? Weird...
androidmonkey said:
Thanks, my Environment Variables wasnt setup. Any ideas why the install didnt do this? Weird...
Click to expand...
Click to collapse
the install never did this afaik ... does ddms work now though?
xidominicanoix said:
the install never did this afaik ... does ddms work now though?
Click to expand...
Click to collapse
ddms loads just fine now but my phone doesnt show up. My phone is connected with "USB debugging connected" enabled.
Any ideas?
did you mount your sd card?
Got it working, the windows driver wasnt installed.
I didnt realize I just needed to use the cmd line to install Navigation, not ddms. Thanks for the help
all you need is the command line to run ddms. Just put it where you have adb, go there via command line, and type"
ddms
Tada. eidt: it's not perfect, but it's mostly there.
Cannot mount SD card in terminal / console
delete ......
I recently switched to Ubuntu, and I can't figure out how to set up the SDK in linux, ^^' (at least adb, I need to push some files) could somebody help me out here?
EDIT: It's much simpler than I thought, I got some help from the guys at #hero-cdma on irc.bikcmp.com
<Obelisk79> download it, unzip it to your home folder
<Obelisk79> then you can run terminal and cd to the sdk/tools folder and run ./adb
Click to expand...
Click to collapse
Now to figure out how to rename the thread XD (I'm new, obviously)
edit in advanced mode
im trying to learn how to make apps for my phone andim trying to install the sdk and al the tools i need. i installed java jdk i sved it in c:\programfiles.
i then downloaded the sdk zip and unzipped it to c: i then doanloaded eclipse and unzipped it to my desktop. everytime i try to run it it says " a JRE or JDK mist be available in order to run. no java VM was found after searching c:\users\guest\deskpto\eclipse-jee-etc\eclipse\jre\bin\javaw.exe in your path. also how to i update my sdk ...any help is greatly appreciated thank you
I have been tryng to set up adb for my N1. I have all the files downloaded and have gone as far as to see if the computer recognizes my phone. I go into device manager and the phone and files are there but when I go to the next step to see if the computer recognizes the phone, I type in certain commands I got from XDA and I got all the way till the last command before the computer pushes out the id #'s to my phone, I type "adb devices" and I get this response "adb is not recognized as a internal or external command, operable program or batch file".
I have studied these commands and I know I have typed in the right ones, I want to learn this process and unlock my bootloader and other things.
any help would be welcomed.
Thank You
Open a terminal in the folder where you have ADB file at.
IE
I have the sdk from froyo still so i navigate my way to the android-sdk-windows folder, go into the tools folder, SHIFT right click and click on open command prompt window here.
Download this, place in the same folder as your adb on the pc, and double click...
http://db.tt/aVW40cy
Sent from my Nexus One using XDA App
danger-rat said:
Download this, place in the same folder as your adb on the pc, and double click...
http://db.tt/aVW40cy
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
I dl file and opened the command prompt, worked fine but still having problem with finding my device, I noticed the adb file was hazed out and it said under it that it had moved, wonder if this is my problem??? I know I'm very close but just getting frustrated. I think I need to reinstall the adb file, I think??????
the problem is that the froyo sdk and the gingerbread sdk have different directory structures. Make sure you are in the right directory. Be it tools or platform-tools. In order to run adb (or fasboot) you need to be in the same directory as the executable (unless you've added the directories to the windows path).
Sent from my Nexus One
efrant said:
the problem is that the froyo sdk and the gingerbread sdk have different directory structures. Make sure you are in the right directory. Be it tools or platform-tools. In order to run adb (or fasboot) you need to be in the same directory as the executable (unless you've added the directories to the windows path).
Sent from my Nexus One
Click to expand...
Click to collapse
I am running gingerbread, I was in the tools folder, what folder should I be in?
If you get stuck, just take a look at this thread. It places all the files you need in one location. Much easier than the sdk...
http://www.nexusoneforum.net/forum/...mple-sdk-setup-manual-root-guide-windows.html
Sent from my Nexus One using XDA App
vinnyjr said:
I am running gingerbread, I was in the tools folder, what folder should I be in?
Click to expand...
Click to collapse
With the Gingerbread SDK, you should be in /platform-tools.
im using windows 7 and cannot for the life of me figure out adb, i never used it on the hero, but with the optimus its the only option, i have the sdk installed, and all the device drivers. But when i try to do " adb devices" i get,
'adb' is not recognized as an internal or external command,
operable program or batch file.
i did edit the path, i think i did it correctly
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\Teleca Shared;C:\Program Files (x86)\QuickTime\QTSystem\;c:\android-sdk-windows\tools;c:\android-sdk-windows\platform-tools
thats what is is now.
will some one please helpppp mehhhh
and i know its not HTC but this community is the best ever so i thought id still ask here
jadenj5 said:
im using windows 7 and cannot for the life of me figure out adb, i never used it on the hero, but with the optimus its the only option, i have the sdk installed, and all the device drivers. But when i try to do " adb devices" i get,
'adb' is not recognized as an internal or external command,
operable program or batch file.
i did edit the path, i think i did it correctly
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\Teleca Shared;C:\Program Files (x86)\QuickTime\QTSystem\;c:\android-sdk-windows\tools;c:\android-sdk-windows\platform-tools
thats what is is now.
will some one please helpppp mehhhh
and i know its not HTC but this community is the best ever so i thought id still ask here
Click to expand...
Click to collapse
Try this:
cd C:\Program Files (x86)\android-sdk-windows\platform-tools
I have old adb so my path is different, but maybe that'll work? Otherwise someone using sdk rev10 needs to chime in...
Do I put that in the path thing? I'm new to all of this so sorry if I ask 5920274010 questions LOL
Sent from my LS670 using XDA App
jadenj5 said:
Do I put that in the path thing? I'm new to all of this so sorry if I ask 5920274010 questions LOL
Sent from my LS670 using XDA App
Click to expand...
Click to collapse
You just need to do a dir of c:\
locate your android-sdk_r10-windows directory. cd to it, then cd to android-sdk-windows, the cd to platform-tools. Do a dir and make sure adb is in that directory.
You can also use windows explorer to locate it or "search programs and files" for adb..
If you remember which directory sdk is installed in that would be where you'll have to look.. PM me if you need more help.