Error in installing android SDK - Optimus One, P500, V General

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.

Related

Problems re-installing SDK

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.

[Q] Can't get the Andorid sdk to run[fixed]

Hi, I recently installed Winodws 7 ultimate x64 on my system but now I can't get the Android SDK to run. When I click on sdk manager a command window just flashed and nothing happens. I have JDK installed.
fixed by installing 32 bit java.
Add java to your path variable
私のEVO 3Dから送信される。

[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.

sdk manager help running with windows xp

I downloded the java jdk and android sdk on a windows xp laptop. everything went right until i ran the sdk manager or, i believe the avd manager and i get an error that say's failed to execute tools/android.bat:error the system cannot find the file specified. Need help with this ive been at it some time now i took a break and now im back at it again and looking to solve this promblem so i can develop applications. Thank You
Did you try a clean install?
This file should be located in <ANDROID-SDK>/tools/android.bat.

[Q] Trying to compile AOSPA : java 6 problem

Hi,
I'm following this tutorial http://forum.xda-developers.com/showthread.php?t=1863547 in order to be able to compile PA for my Nexus 4.
I get stuck at java 6 installation : as I'm using a Debian (jessie) as my daily OS, and trying to learn java, I already had it with eclipse and the command "java -version" showed me version 1.7 and openjdk 7.
So I anyway tried to purge java, this of course removed eclipse, and the next step in the tutorial explained how to install Oracle JDK. But I wanted to keep using OpenJDK so I just did a basic install of openjdk-6 with aptitude.
At this point "java -version" shows me 1.6, but... Installing Eclipse and its dependencies make java 1.7 and openjdk-7 come back...
There must be an easy way to solve this ?
Thanks!
PS : As you probably understood I'm using debian daily but I'm not yet a linux geek ^^

Categories

Resources