[Q] Android SDK install fails - Sprint HTC EVO 4G LTE

Trying to install the most recent version on this new computer, after downloading the SDK and continuing to install, it isn't detecting JAVA developement kit, right after you hit next to install the software it goes to the next window saying it can't detect Java, and I'm certain it's there.
THoughts

Have you updated? I think oracle pushed a new update recently, they may have changed install path

think so
the page where it gets hung actually has a link to oracle, i went and downloaded package 7u7 for windows, I alredy had it on the computer anyway, that same window says if you think its on your computer go to environmental variables and put it HOME_JAVA which I did, and I still can't get past that window......i hate this lol

Hmm, well I haven't had a chance to set it up on my pc nor have I had any inclination to do so. My only source of internet is a sad WiMAX connection under 1Mb, the 3g in my phone is faster sometimes. Every once in awhile I get a little over 5 but most if the time its too slow for any sort of large files

musicman625 said:
Trying to install the most recent version on this new computer, after downloading the SDK and continuing to install, it isn't detecting JAVA developement kit, right after you hit next to install the software it goes to the next window saying it can't detect Java, and I'm certain it's there.
THoughts
Click to expand...
Click to collapse
Do you need the entire SDK? I know om4 has a link for adb lite
Sent from my EVO using xda premium

Related

How do I get ADB for HTC HD2 Android?

I've done some searching and I can't find anything on this. I can't find any download links or whatever.
I'm running Windows 7 64-bit.
Thanks guys!
I just downloaded the Android SDK. It includes adb.
firaX said:
I just downloaded the Android SDK. It includes adb.
Click to expand...
Click to collapse
Oh ok.
I'm installing it now.
If you search my stats i made a good thread on stting it up i attached drivers too
Weird: had no problems using adb on my HTC Magic, but adb remount w/ the HD2 gives me 'remount failed: Unknown error: 0'
I have the sdk installed. When I connect the HD2, it asks for the location, I specify the location of the SDK. It cannot find anything. What exactly is it looking for?
geedsen said:
I have the sdk installed. When I connect the HD2, it asks for the location, I specify the location of the SDK. It cannot find anything. What exactly is it looking for?
Click to expand...
Click to collapse
I downloaded HTCSync
Found here http://jamesgiang.wordpress.com/2010/04/25/adb-drivers-for-htc-desire/
Hope it works for you!
adb drivers for HD2
geedsen said:
I have the sdk installed. When I connect the HD2, it asks for the location, I specify the location of the SDK. It cannot find anything. What exactly is it looking for?
Click to expand...
Click to collapse
After downloading the Android SDK, use its manager to download the windows drivers and it will be downloaded in, for example, C:\android-sdk-windows\usb_driver
Use this folder when windows ask you for drivers.
OMFG I'm about to throw this POS out of the window! My G1 never gave me close to as many problems as this hackjob. I am going crazy trying to figure out how adb works on the hd2, on the G1 it was in the phone when it was rooted, I downloaded the program from java, installed sdk manager and the windows usb drivers, what do I do next? It still doesn't see my device, neither does droidexplorer and I have usb debugging on. ALL I WANT IS MY DAMN GPS TO WORK, POS IS ROOTED BUT WON'T SAVE MY CHANGES WHEN I CHANGE THE GPS.CONF FILE! sorry, no sleep, work nights, one day left to fix this phone... or I might just buy a damn iphone

Im going CRAZY trying to root!

Heres the deal. I have a MAC with a newly installed hard drive. On my old hard drive I had everything setup with SDK and Adb but that was when I had an HTC Hero. My problem is this: When in terminal my damn computer keeps prompting me for a password but it doesnt allow me to type anything except control C which aborts the program. It never was like that with the old hard drive.
2. Ive dl SDK for MAC unzipped it and saved it to my desktop and my hard drive.
3. When I click on tools it says "adb_has_moved.txt"
4. It says the adb tool has moved to platform-tools/ and if you dont see this directory in your SDK, launch the SDK and AVD manager and install "android SDK Platform-tools and also update my path environment variable to include the platform-tools/ directory, so I can execute adb from any location. What the heck does this mean and how do I fix it. Also how do I know if SDK is installed correctly.
5. I DL some version of eclipse that was recommended from SDK but I dont know how to use that either.
6. I have tried all the root methods shown here in XDA except the on with the Dock since I dont have a dock.
7. Also ADB does not recognize my device and my debug is selected. I cannot get it to find my device.
8. One last question when some instructions say unzipped and move the root exploit to /data/tmp/ is that the file labeled under sdcard/data or is it the one inside the Android Folder listed as "data"
Please anyone help if possible.
let me try that
Stupid question but How do I launch SDK?
laraiza said:
Stupid question but How do I launch SDK?
Click to expand...
Click to collapse
Make sure your phone has USB Debugging Mode enabled. Otherwise, adb will not recognize your device.
Check this thread: http://forum.xda-developers.com/showthread.php?t=879701
However, you will have to modify for MAC.
In my opinion the easiest way to root the Photon is still using the dock method. Otherwise, try the One Click Root method (Torpedo) as mentioned above. Then you don't have to worry about issuing all the commands.
I got it done I got it done. What I did was borrow my daughters windows netbook and the one click method worked on the first try. Thanks to all who replied. I will definitely hit your thanks buttons.
Sent from my MB855 using XDA App
im sorry.. my tool was a one click i dint think i needed to give it instructions.. especially teh part of how to run it on your computer... just fyi.. when invoking sudo (to do things as admin/root) on your computer. you are asked to enter in your password.. as a privacy/security feature it will NOT display any characters.. ergo it looks blank...
as you arent teh first one to run into this issue ill add instructions for mac users ( i know anyone running linux can figure out how to run a bash script, and windows users have a bat file after installing 209387249087 drivers... but they still figure it out ;P)

I hope this belongs here?

Ok, so I formatted my computer, and now I cant push files thru fastboot anymore...any ideas?
Dont you need htc drivers for that? Have you tried to install htc sync?
What he ^ said.
Make sure you download the SDK and
then the platform-tools, as well as install
htc sync.
After that, you should have no problems
I did install sync as well as the sdk, however, one of the portions of the sdk won't install, its telling my I have AV software that's utilizing the same folder...but I have no AV software?
sho0z said:
I did install sync as well as the sdk, however, one of the portions of the sdk won't install, its telling my I have AV software that's utilizing the same folder...but I have no AV software?
Click to expand...
Click to collapse
Google will help you solve this problem with the AV folder sharing thing. It's a very common thing. I would help more if i was posting from my laptop, but I'll let you google it yourself since I'm posting from my phone.
CM powered EVO 3D, enough said.

Android SDK Problems

Hello all...I have the Android SDK set up on my Dell Dimension 4600 running Windows 7 and ADB IS set up correctly as well as my environment variables. So today I go into my Android SDK to run an update and install API packages that I don't have yet and was getting some weird stuff going on. I go to college full time for computer networking and was installing all the API's just fine on my computer at the college today(actually my removable hard-drive in a computer). I got home and decided to run the same on my home computer to keep things up to date and was getting error messages. Has anybody else ever had this problem? Thought I'd ask the question and seek help from the forums. Any help from anybody is greatly appreciated. I have posted my a docx file to take a look at my screenshots and verify that I have the correct files and all. Thanks be to all!
[EDIT] So I found my answer to my problem. When going into Android SDK Manager you must right click on it and run it as an administrator for it to work and download API's correctly. Don't know if anybody else has this issue but there's your answer! Hope it helps out somebody!

[SOLVED] Trouble installing SDK on 64Bit Windows 7

Hey guys, Ive just purchased a new x64 windows7 computer and am having difficulty getting the SDK installed.. I had it on my xp 32bit just fine, but the installer for android sdk wont recognize that I have the Java SE JDK installed and is telling me to set an environment variable to point to it. I am not all that familiar with setting Environment variables, or the new OS, any help would be greatly appreciated thanks. Just looking to get adb running for GB and above for ODIN, not looking to develop.
To install Odin3 and flash roms you don't use adb.exe for any task.
But the answer to your trouble is your path.
I wish that i knew more about ADB, and the SDK...
I did manage to establish a working development environment last spring, but the system I use is only a 32 bit environment.
The time since my setup has been so long ago now, that I have forgotten the particulars of the build. But I did learn a great deal from the guides posted here:
http://www.xda-developers.com/android/all-in-one-guide-to-adb/
Forgive my limited reply, as I desire to help you, but its quite clear that your knowledge of the android SDK exceeds that of mine.
And if you dont mind, I wish ask a question of you.
As you have used the 32 bit SDK successfully in the past, is it possible to copy and transfer all of the files needed to produce a working environment by simply loading said files from one PC to another ??
Or is the environment an individual set of parameters that must be created for use on each machine ??
I have never been successful in my search for an answer to that question.
Im sorry that its such an off topic request, but I truly wish to learn more in my old age....tbank you...g
rangercaptain said:
To install Odin3 and flash roms you don't use adb.exe for any task.
But the answer to your trouble is your path.
Click to expand...
Click to collapse
Thanks for the quick response, yea i gathered that much with the path , just dont know which field to put it in under environment variables or the proper format.. my question is how to properly set environment variables for the sdk to install.. Or just even a workaround for getting ADB up on windows 7.. Had no issues whatsoever on XP.. I Extracted the java.exe to the path the sdk software is looking, and still no luck (i like having ADB to push apks, root or recoveries n such when not looking to ODIN etc) I've tried several different tutorials and can't seem to get past the install of the sdk verifying i have the java se installed. ..
Sent from my SAMSUNG-SGH-I717 using xda app-developers app
gregsarg said:
I wish that i knew more about ADB, and the SDK...
I did manage to establish a working development environment last spring, but the system I use is only a 32 bit environment.
The time since my setup has been so long ago now, that I have forgotten the particulars of the build. But I did learn a great deal from the guides posted here:
http://www.xda-developers.com/android/all-in-one-guide-to-adb/
Forgive my limited reply, as I desire to help you, but its quite clear that your knowledge of the android SDK exceeds that of mine.
And if you dont mind, I wish ask a question of you.
As you have used the 32 bit SDK successfully in the past, is it possible to copy and transfer all of the files needed to produce a working environment by simply loading said files from one PC to another ??
Or is the environment an individual set of parameters that must be created for use on each machine ??
I have never been successful in my search for an answer to that question.
Im sorry that its such an off topic request, but I truly wish to learn more in my old age....tbank you...g
Click to expand...
Click to collapse
My apologies if i sounded sassy in my response, i didn't mean to offend and am very thankful for all that u contribute here on xda and ur response. As for your question, i believe IMO due to the heavy reliance on drivers for the SDK to run for "X" device(s) development is being implemented on, it would more than likely need to be created specific to each machine during the install of each runtime ..but would imagine certain elements could be transferred or copied across. . But again just my guess, for i have not tried. I am new to win 7 and a NEWB to XDA. .. You sir are the mentor in this happenstance. Thanks again for the link and advice.
Sent from my SAMSUNG-SGH-I717 using xda app-developers app
Make sure you installed 64bit java. I had the same problem and it turned out I kept installing the 32bit java. Their downloads can be very confusing.
Right click on "computer" on the start menu or in Windows explorer. Then go to properties.
On the left you will see an option that says "advanced system settings"click on that.
In the new window there will be 5 tabs up top, go to the "advanced" tab which is in the middle.
Once there, at the bottom is a button that says "environmental variables"
Click on that and there will be a new window broken into 2 sections: user variables, and system variables.
Go down to system variables till you see one named "path" select it and choose edit.
Now, you should have the java jre installed.
I have a 64 bit environment with 32 bit java,.That's fine.
The path that is installed to, and what you want to enter into your variable is:
;C\program files (x86)\java\jre7\bin
Close that out.
Now open a command prompt and simply type java, if you get a long list of details that tell you the commands you can use, congratulations java is now in your path.
If it says "java is an unknown command" you have messed up somewhere.
Ok, now that you have adb installed, go to the platform-tools folder.
Copy:
Aapt.exe
Adb.exe
Adbwinapi.dll
Adbwinusbapi.dll
And paste those into your main Windows folder.
Now, you can enter adb command from any directory, you do not have to cd to the platform-tools folder first.
Excellent ....
Many thanks !!.....g
studacris said:
Right click on "computer" on the start menu or in Windows explorer. Then go to properties.
On the left you will see an option that says "advanced system settings"click on that.
In the new window there will be 5 tabs up top, go to the "advanced" tab which is in the middle.
Once there, at the bottom is a button that says "environmental variables"
Click on that and there will be a new window broken into 2 sections: user variables, and system variables.
Go down to system variables till you see one named "path" select it and choose edit.
Now, you should have the java jre installed.
I have a 64 bit environment with 32 bit java,.That's fine.
The path that is installed to, and what you want to enter into your variable is:
;C\program files (x86)\java\jre7\bin
Close that out.
Now open a command prompt and simply type java, if you get a long list of details that tell you the commands you can use, congratulations java is now in your path.
If it says "java is an unknown command" you have messed up somewhere.
Ok, now that you have adb installed, go to the platform-tools folder.
Copy:
Aapt.exe
Adb.exe
Adbwinapi.dll
Adbwinusbapi.dll
And paste those into your main Windows folder.
Now, you can enter adb command from any directory, you do not have to cd to the platform-tools folder first.
Click to expand...
Click to collapse
Thank you very much sir for the indepth instructions. . Between your directions and gregsarg's link i was able to get adb up by using the 32bit ver download instead of the 64bit even though my machine is 64bit... Guess there is at least a little functional backwards compatibility left in win 7 afterall. ..:thumbup::thumbup:
Please re-edit your title so you have [solved]Original Question so others having the same issue can enjoy the given solution. Thank you.

Categories

Resources