Problems re-installing SDK - HTC Rezound

I had to do a system recovery on my laptop because of sound issues. Now when i try to install android sdk its telling me that that java jdk is not found. Ive installed jdk, uninstalled, reinstalled, etc. But its still telling me its not found and will not let me install sdk. Any ideas on what i could do to fix this.

Check to make sure the path to the Java is found. If not, add the path to it to your systems path default, OR, use a script which you run first, that sets it for you.
One of many articles on the net on ways you can do this...
http://www.phoons.com/john/classes/aboutpath.html
Video:
http://www.youtube.com/watch?v=FzlIiQtMP9M
Also make sure you are installing the right version... 64bit vs 32bit etc...

Thanks for the help. Got it straightened up. I have windows 7 64 bit so i was using jdk 64 no problem. After i did the system recovery 64 bit jdk wouldnt work i had to run 32 bit. Strange, but at least its working now.

Related

Windows 7 64 bit and HTC Sync

Hi,
I know there have been threads on this before but largely they just mention installing the Vista 64 bit drivers (done that). I'm running Windows 7 64 bit with the Vista 64 bit drivers and MCR 2.8 (although I was on stock and 2.2 with the same problem). HTC Sync on the phone just will not find it on the PC. I can mount the SD card with no trouble, just problems with Sync.
Any suggestions as to what I can do? Please feel free to direct me to another thread that I've missed so long as it's not just about the drivers.
Ta
M
martint235 said:
Hi,
I know there have been threads on this before but largely they just mention installing the Vista 64 bit drivers (done that). I'm running Windows 7 64 bit with the Vista 64 bit drivers and MCR 2.8 (although I was on stock and 2.2 with the same problem). HTC Sync on the phone just will not find it on the PC. I can mount the SD card with no trouble, just problems with Sync.
Any suggestions as to what I can do? Please feel free to direct me to another thread that I've missed so long as it's not just about the drivers.
Ta
M
Click to expand...
Click to collapse
In addition to HTC sync and the drivers, have you tried getting the android sdk? I know that I had issues with HTC sync finding my phone as well when syncing it to Win7 x64, so try following this guide here, it might allow HTC sync to view the phone properly. The guide teaches you how to setup adb-usb drivers which might trigger the application to know that your phone is there.
I had the same problem, turns out one of the task killer apps that I had been using had killed the sync process. Might be a plan to check if the same has happend to you.
Florida.
Hi Princedwi and Florida,
Thanks for the replies. I'm confident that my sync process is still running as I've tried numerous reboots of phone and PC so the task killer wouldn't have had chance to stop the process. However I will give it a go just to make sure.
Regarding the SDK, I'll try that when I get home. I used to have the SDK installed but then I did a re-install of windows and haven't bothered installing the sdk yet. May well work, I'll let you know.
Ta
M
Hi,
Ok tried it at home. The SDK isn't installing in the same way as I remember it doing last time. A DOS box flashes up and then disappears when I run SDK setup.exe.
Any other ideas?
Ta
M
2.0.18 is out now... should be W7 compatible -
http://www.htc.com/europe/SupportViewNews.aspx?dl_id=847&news_id=471
I had to install the Vista 64 bits drivers twice to get them working properly. The first time my hero appeared as "HTC Hero ADB". Rebooted, connected to USB, opened notifier, selected PC-Sync and reinstalled drivers (always choosing the folder where HTC should be leaving their drivers). This second time it appeared as "MY HTC" and it worked fine then. So just try again until you see the magic word "My HTC".
yrreP said:
2.0.18 is out now... should be W7 compatible -
http://www.htc.com/europe/SupportViewNews.aspx?dl_id=847&news_id=471
Click to expand...
Click to collapse
I've installed it today on my 7 64bit ultimate installation, and still no avail, i installed the vista x64 drivers and it worked.
Gr. B
martint235 said:
The SDK isn't installing in the same way as I remember it doing last time.
Click to expand...
Click to collapse
Because from android 1.6 setup process has changed in SDK. Normally it opens a windows from where you can add the version of android SDK you want and install the driver.
martint235 said:
A DOS box flashes up and then disappears when I run SDK setup.exe.
Click to expand...
Click to collapse
Same problem here with windows 7 64bit. Not sure if it's related to java environnement installed (For example when i installed JRE on my win7 64 the JAVA_HOME env variable was not set, i had to do it manually).
martint235 said:
Any other ideas?
Click to expand...
Click to collapse
Nope for now but if I found the problem be sure i'll post it here.
Ok I found the solution. My problem is that I've installed only the JRE but according to the requirements (developer.android.com/intl/fr/sdk/requirements.html) we need the JDK also.
So i've uninstalled the JRE 1.6 (64bit) I had, and installed the JDK 1.6 (32bit as i saw many ppl having problem with 64bit and android SDK). And it worked, I run againg the "SDK Setup.exe" and it opened the windows as intended.
I had the same problem, even with 2.0.18. what I did was install HTC Sync 2.0.18 (with the drivers copied in Program Files\HTC\HTC Driver\Vista_x64). then go to device manager, ADB interface, update driver, browse for a list of compatible software and choose My HTC.
after rooting it (although I'm not sure this is the cause) it happened now and then to fail to get recognized by the computer so I followed the same steps to update the drivers to My HTC.
I can't install HTC Sync 2.0.18, it gives an error about some resource file not found and closes. I tried on two different computers with the same result. Anyway 2.0.8 works fine here after I reinstalled the 64 bits driver until it was detected as "My HTC".
the same for me.
after update to version 2.0.18 my win7 64bit didnt find my phone anymore...

HTC Drivers

Hey, I was wondering if anyone had a link to download the HTC Bootloader drivers. It fails when I try and load "something" in Windows.
Thanks.
p.s: This will lead to good things...
The only drivers that I am aware of are the ones that are in the Android SDK Toolbox and in the HTC Sync program. Correct me if I am wrong, but as far as I know, they aren't specific drivers ie "bootloader" drivers. They are just drivers to get your comp to recognize the phone when its attached.
I'm assuming this is something you're expirementing with to get root via the adb in recovery, if so, good luck.
-------------------------------------
Sent via the XDA Tapatalk App
Hi crax0r,
The folks at Android (aka Google) provide these instructions for installing the drivers. It involves installing their SDK first, and installing Java for that, and an IDE called eclipse.... UGH.
The HTC "Sync" Application that hoovnick is referring to can be found here.
It has been so long ago that I installed drivers (on a WinXp x32 laptop) that I can't remember what order I did things in, whether or not the driver used by HTC sync is sufficient for fastboot but not adb (or vice versa), whether I did the SDK install first, etc etc etc. As a matter of fact, it's been so long ago that the computer that I did it on is now dead, and here I am using a Linux machine.
For all I know, the order you do things in affects the outcome - it sure seems like a lot of folks with Windows 7 complained about driver troubles.
One thing is for sure, though - setting up the entire Android SDK (+ Java + Eclipse + ...) in order to install a device driver has to be the worlds most roundabout way of doing a driver install.
If you are considering using the "fastboot" method to install Amon_RA's recovery boot, you might try just installing HTC Sync first, and see if that is sufficient for getting fastboot talking to the phone. That install is way, way easier than setting up the SDK to get a driver installed.
The other thing which is an option, if you are a little bit Linux-savvy, is to boot one of those "Live CDs" (Ubuntu, SuSe, etc) on your PC - there are no drivers to install in the case of Linux, you just need to be running as "root" on the Live (linux) CD to get fastboot to talk to the phone. The downloads (fastboot for Linux and the Amon_RA recovery image) are small, and they will both easily fit in the /tmp folder of the Linux (Live CD) boot on the PC.
Once you have Amon_RA on the phone, you won't need the SDK any longer, unless you want to start doing dev-like things; that's why a one-time boot into Linux would also work.
bftb0
I <3 Ubuntu. It's amazing!
bftb0, I am trying to install only the driver from the SDK tools, but when I follow the instructions for a fresh install, and point windows to the folder with the driver in it, windows says it can't find a driver there. What am I doing wrong here?
crax0r said:
It's OK. I'm running Ubuntu now.
Click to expand...
Click to collapse
Excellent. Just remember to always run fastboot as root, and if using adb, then the first time after you boot (the PC), run adb as root.
The reason is that by default, Ubuntu won't let an unprivileged user access the USB.
Since I have adb and fastboot in my Ubuntu (regular user) PATH, I usually just do a
$ sudo `which adb` blah-blah-blah
or
$ sudo `which fastboot` blah-blah-blah
bftb0
hoovnick said:
bftb0, I am trying to install only the driver from the SDK tools, but when I follow the instructions for a fresh install, and point windows to the folder with the driver in it, windows says it can't find a driver there. What am I doing wrong here?
Click to expand...
Click to collapse
I don't know - I've already forgotten everything I did with the driver install in Windows, and I don't currently have a working Windows machine. Sorry I can't be of more help. As I said, the troubles people have been having seem to depend on which version of Windows (Xp/Vista/7), whether its x32 or x64, phase of the moon, etc. Seems like people run into snags on Win7 or x64 versions of Windows more than Xp-32, but I don't know why that is.
Keep plugging away at it. If you are looking for resources to help resolve the problem, I would go look at docs relating to Windows driver install troubleshooting - the driver install problem seems to be a Windows issue, not really anything to do with the SDK.
bftb0
hoovnick said:
bftb0, I am trying to install only the driver from the SDK tools, but when I follow the instructions for a fresh install, and point windows to the folder with the driver in it, windows says it can't find a driver there. What am I doing wrong here?
Click to expand...
Click to collapse
Sounds like what happened to me. i had to hit the icon at the top of my phone that showed the usb cable.. i had to switch charge only to disk drive "mount as disk drive"... folder popped right up on my windows machine asking how i wanted to open the file
I have the SDK running and my phone being recognized on my computer with Vista but I have another one running XP 32 bit and windows will NOT recognize the .inf? Any ideas? I deleted all previous HTC drivers and tried that approach but nothing seems to be working.

Android SDK Setup - Java is not found in your PATH.

Hi,
I am new to Android. I have downloaded and installed every necessary component in order to start working with Android. The issue I am having is that in Command Prompt, anything I type in related to the Android SDK (for example: adb, or even just android) comes back with "Java was not found in your path". Now, I have changed all my PATH variables under "User" to the EXACT locations of where these folders are, but no dice. It keeps telling me to go and edit my PATH variables. Even running SDK Setup, gives me the same error, and tells me to add where Java was found (even though I have!).
I am starting to get really fed up with this, because Eclipse can't find the "jre" folder inside the Java JDK, either (that is, of course, until I copy the entire jre folder inside of the eclipse folder, or put eclipse inside of the JDK folder)...
I just know it shouldn't have to be this tedious to set everything up and I would really appreciate it if someone can help with this
I am running Java JDK 1.6.0_21 (x64), Eclipse Helios (3.6) IDE for Java EE Dev., Android SDK Revision 6, all on Windows 7 Ultimate x64.
Something to note: I have not encountered any problems with Eclipse Helios and the ADT plugin as stated on the Android Developers website. I can use Eclipse and the SDK to create and run the"Hello, Android!" application on the emulators without issues. I just want to be able to run everything from the command prompt, too. Now, if I can only get my phone to be recognized after I get this resolved.
I also need this for rooting and unlocking the phone.
Bazz44 said:
Hi,
I just know it shouldn't have to be this tedious to set everything up and I would really appreciate it if someone can help with this
I am running Java JDK 1.6.0_21 (x64), Eclipse Helios (3.6) IDE for Java EE Dev., Android SDK Revision 6, all on Windows 7 Ultimate x64.
Click to expand...
Click to collapse
In the SDK tools folder go to libs and edit find_java.bat.
Change all instances of %PROGRAMFILES% to %PROGRAMFILES(X86)% .
I had to do this for my SDK.
Your java will probably still resides in c:\program files (x86)\java or the likes.
To test if it works open DDMS.bat(May need to open twice).
I ran "ddms.bat" before changing the "find_java.bat", and it just came up that it could not find the path > checking if it is installed elsewhere. I did what you suggested (I found three instances of where I needed to add the (x86)), ran "ddms.bat", and got the same error. However, this time it also opened the Dalvik Debug Monitor. Eclipse still won't run without its own copy of the "jre" folder from the JDK at the same folder level as the "eclipse.exe"...
any luck with this? I'm also having same trouble in Win7x64
Gonna give in otherwise n reboot my ubuntu system see if thats any easier
i know i can't use OpenJDK or something so ill have to swap that but fingers crossed
=]
Solution
Install any JRE Java, Copy the java folder at program files/Java/jre6 Paste it inside MOTODEVĀ“s folder program files/Motorola/MOTODEV Studio for Android 1.2/ and rename it to jre
Done
Edited the eclipse .ini works a treat now wi java x64...
time to whip out the olde java books from college an see if any of it comes back to me
Is it possible to install the android sdk platforms & extras offline manually, my only net atm is my desire tethered, unlimited data but I don't wanna push my luck
I'm not sure if it may be related or not but according to the android dev page, you should be using eclipse 3.5 because they have been having problems with 3.6
May or may not be related but worth a shot.
I'm not sure if it may be related or not but according to the android dev page, you should be using eclipse 3.5 because they have been having problems with 3.6
May or may not be related but worth a shot.
i need help http://forum.xda-developers.com/showthread.php?p=24028502#post24028502
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
Make nu system path
Try making new system path named PATH (all caps). its an issue with Win7 64. Hope it helps. and yes Installing the Android sdk is a giant head****. I have it all put as fare as the link to abandroid put it doesn't make plug-in available in the plug-in list. I'm at a loss...
As i said, hope it works.
Having just had this issue myself on a new install of eclipse, the sdk and adt, here's what finally helped me: making sure the java\sdk1.6.x.x\bin directorywas in front of the windows\sys32 directory in the PATH statement of the environmental variables.
I did already add the JAVA_HOME and such, but the above was the step that finally allowed me to finish the setup.
Fix for Win7 64bit and Android SDK/Java install
MacDegger said:
Having just had this issue myself on a new install of eclipse, the sdk and adt, here's what finally helped me: making sure the java\sdk1.6.x.x\bin directorywas in front of the windows\sys32 directory in the PATH statement of the environmental variables.
I did already add the JAVA_HOME and such, but the above was the step that finally allowed me to finish the setup.
Click to expand...
Click to collapse
I had to finally use JAVA_HOME C:/PROGRAM FILES/JAVA/JDK1.7.0_05 That finally allowed me to instal the Android SDK
best answer
rowdyvc said:
I had to finally use JAVA_HOME C:/PROGRAM FILES/JAVA/JDK1.7.0_05 That finally allowed me to instal the Android SDK
Click to expand...
Click to collapse
Thank you you solve my prob man

Error in installing android SDK

Due to some reasons i formatted my pc..after formatting when i again going to install android sdk it shows u have not jdk even i installed already 3 times jdk se6 update no.24...what the problem...i cant understand....help plzzzzzzzzzz
What OS are you running? My JDK on Linux works flawlessly, but doesn't on my Win7 i686 install.
am using windows xp.....it runs before format but after formatting couldnt install it shows u have not downloaded jdk.....even i installed jdk correctly
I'm not sure about this but...try installing JRE and JDK.

[Q] Android SDK manager not starting on Windows 8

Hello,
I can't get Android SDK manager to run on Windows 8 x64. Every time I run the executable a command prompt window flashes briefly and then nothing happens. I have tried installing both 32 and 64 bit version of JDK 1.6 and running SDK manager with admin permissions and in compatibility mode.
Any help would be appreciated
kevdliu said:
Hello,
I can't get Android SDK manager to run on Windows 8 x64. Every time I run the executable a command prompt window flashes briefly and then nothing happens. I have tried installing both 32 and 64 bit version of JDK 1.6 and running SDK manager with admin permissions and in compatibility mode.
Any help would be appreciated
Click to expand...
Click to collapse
It runs fine for me on Windows 8 Pro x64. The command propt window does flash, but the manager comes up soon after. I have JDK 1.7 though.
Theonew said:
It runs fine for me on Windows 8 Pro x64. The command propt window does flash, but the manager comes up soon after. I have JDK 1.7 though.
Click to expand...
Click to collapse
Thanks so much for the info I tried again with JDK 1.7 and it works now
kevdliu said:
Hello,
I can't get Android SDK manager to run on Windows 8 x64. Every time I run the executable a command prompt window flashes briefly and then nothing happens. I have tried installing both 32 and 64 bit version of JDK 1.6 and running SDK manager with admin permissions and in compatibility mode.
Any help would be appreciated
Click to expand...
Click to collapse
The same was in Windows7 64-bit for some SDK version (dont remember version number).
It was solved by switching off some windows security checking. May be this is not best solution, but works.
Got a fix
I was having this problem too. It's caused by the PATH variables to java.exe being set incorrectly. You can modify the environment to have java_exe pointing to wherever it is C:\Windows\System32\java.exe for me or modify android.bat in tools to change set java_exe= call lib\find_java.bat if not defined java_exe goto :EOF
to this: set java_exe="D:\Program Files\Java\jdk1.7.0_07\bin\java.exe" where the path is the path to your java exe
you can then run android.bat and it works. The reason (re)installing java works is because it adds the path variables for you. They must have gotten changed/moved when I upgraded to windows 8
I'm having the same issue. Installed JDK 1.7 but still the same issue.
I have a fresh Install of W8 and am just now trying to install JDK and SDK.
.
I also cannot launch SDK Manager
o0rebelious0o said:
I was having this problem too. It's caused by the PATH variables to java.exe being set incorrectly. You can modify the environment to have java_exe pointing to wherever it is C:\Windows\System32\java.exe for me or modify android.bat in tools to change set java_exe= call lib\find_java.bat if not defined java_exe goto :EOF
to this: set java_exe="D:\Program Files\Java\jdk1.7.0_07\bin\java.exe" where the path is the path to your java exe
you can then run android.bat and it works. The reason (re)installing java works is because it adds the path variables for you. They must have gotten changed/moved when I upgraded to windows 8
Click to expand...
Click to collapse
I am having the identical problem. I try to launch SDK Manager and get a quick cmd flash and then nothing. I am on Win8 Pro with jdk 1.7.0_21.
I added c:\Windows\System32\java.exe to the path (correct on my system) but no obvious change in result. Then edited set java_exe in android.bat to "C:\Program Files\Java\jdk1.7.0_21\bin\java.exe" and ran the batch file, and still I just get a quick flash of the command window. My java sdk was just installed today prior to setting up the ADT Bundle for Windows. Eclipse loads with ADT, but the SDK Manager is still a no go. Thanks in advance for any ideas.
Solved my Windows 8 problem
Hi,
I have been having similar problems with Android SDK manager not starting in Windows 8. Tried altering Java paths and messing with Android.bat etc. etc. but am now convinced the problem is with the UAC of Windows 8. Why?
1) Originally installed Eclipse in a sub dir of Program Files and found that I could not edit any sub dir there (like Android.bat) because of User Access Controls (UAC)... got me thinking...
2) So re-installed Eclipse in a sub dir under my user, and bingo... SDK manager works fine now.
It is possible to disable all UAC in Win 8 Pro using secpol.msc, but I don't have Pro version and it's not in bog standard version... However, you can still edit the registry to give all apps admin privileges but seems a bit drastic to have to do this...
http://developer.android.com/sdk/installing/bundle.html
Install the SDK and Eclipse IDE
1.Unpack the ZIP file (named adt-bundle-<os_platform>.zip) and save it to an appropriate location, such as a "Development" directory in your home directory.
try c:\Development\
aleks3008 said:
http://developer.android.com/sdk/installing/bundle.html
Install the SDK and Eclipse IDE
1.Unpack the ZIP file (named adt-bundle-<os_platform>.zip) and save it to an appropriate location, such as a "Development" directory in your home directory.
try c:\Development\
Click to expand...
Click to collapse
This is what worked for me. Thanks!!!
I originally had it in User\Documents\
same problem
I am having same problem like you buddy.help would be much appreciated.
Same here
Yeah I've reinstalled everything as described here, and I am still unable to get it to launch. Just getting the brief flash of a CMD prompt.
Finally solved it!
I had the exact same problem. I have gone crazy trying to fix this for past 1 day. Finally solved it using this guide: http://www.dominantwire.com/2015/03/android-sdk-not-opening.html.
Had to do some tweaks in the android.bat file and re-specify the environment variable paths. The solution is pretty universal. Should work for you guys as well.

Categories

Resources