can't load/run android sdk - General Questions and Answers

Win7-64
Cannot seem to load the android sdk. I have downloaded the Java SDK SE 7u5 and the JRE 7u5 and installs seem ok. But when I try to execute the android sdk (installer_r20.0.1-windows.exe) I get the error "Java SE Development Kit (JDK) not found. Error: Failed to find Java version for 'c:\windows\system32\java.exe'"
I then added a path in the environment variables as JAVA_HOME to point to this c:\windows\system32\java.exe' but still refuses to load.
Have tried reset, reboot and no go. I have also searched the FAQ but did not locate an answer.
My intent is to work with the Android system for the Google Nexus 7 tablet.
Can anyone please point me to a resolution? Thanks!

caprock said:
Win7-64
Cannot seem to load the android sdk. I have downloaded the Java SDK SE 7u5 and the JRE 7u5 and installs seem ok. But when I try to execute the android sdk (installer_r20.0.1-windows.exe) I get the error "Java SE Development Kit (JDK) not found. Error: Failed to find Java version for 'c:\windows\system32\java.exe'"
I then added a path in the environment variables as JAVA_HOME to point to this c:\windows\system32\java.exe' but still refuses to load.
Have tried reset, reboot and no go. I have also searched the FAQ but did not locate an answer.
My intent is to work with the Android system for the Google Nexus 7 tablet.
Can anyone please point me to a resolution? Thanks!
Click to expand...
Click to collapse
First, make sure that the file java.exe is in this folder "C:\WINDOWS\system32\".
If this file is there, try to run "C:\WINDOWS\system32\java.exe -version" and make sure that you see the message java version "1.7.0_05"
If not - just reinstall java

PlanetInPocket said:
First, make sure that the file java.exe is in this folder "C:\WINDOWS\system32\".
If this file is there, try to run "C:\WINDOWS\system32\java.exe -version" and make sure that you see the message java version "1.7.0_05"
If not - just reinstall java
Click to expand...
Click to collapse
Thanks - This works:
java version "1.7.0_5"
Java(TM) SE Runtime Environment (build 1.7.0_05-b06)
Java HotSpot(TM) 64-bit Server VM (build 23.1-b03, mixed mode)

if the problem hasn't been solved yet just try to install 32-bit version java (before remove 64-bit version)

caprock said:
Win7-64
Cannot seem to load the android sdk. I have downloaded the Java SDK SE 7u5 and the JRE 7u5 and installs seem ok. But when I try to execute the android sdk (installer_r20.0.1-windows.exe) I get the error "Java SE Development Kit (JDK) not found. Error: Failed to find Java version for 'c:\windows\system32\java.exe'"
I then added a path in the environment variables as JAVA_HOME to point to this c:\windows\system32\java.exe' but still refuses to load.
Have tried reset, reboot and no go. I have also searched the FAQ but did not locate an answer.
My intent is to work with the Android system for the Google Nexus 7 tablet.
Can anyone please point me to a resolution? Thanks!
Click to expand...
Click to collapse
Your JAVA_HOME should never point to /system32, otherwise you messed up the Java installation. Download the Java JDK from Oracle, and install it to its own folder.

Related

[Q]Android SDK

Hi everyone,
i installed the android sdk r08 on my computer running windows 7, and when i tried to download the packages, it said "failed to create directory C:\Program Files\Android SDK\android-sdk-windows\temp"
i have used the sdk before on my vista and ubuntu computers, so can someone please help me out?
jwils96 said:
Hi everyone,
i installed the android sdk r08 on my computer running windows 7, and when i tried to download the packages, it said "failed to create directory C:\Program Files\Android SDK\android-sdk-windows\temp"
i have used the sdk before on my vista and ubuntu computers, so can someone please help me out?
Click to expand...
Click to collapse
Right click SDK Manager > Run as Administrator.
Enhanced said:
Right click SDK Manager > Run as Administrator.
Click to expand...
Click to collapse
for my firewall
after having instaler JDK and JRE I can not Toujouse instaler SDK R08 I had to instaler SDK r12
I can't help you, sorry...
Please use the Q&A Forum for questions Thanks
Moving to Q&A

[Q] Eclipse ADK Beginner's Issue

I am running Linux (Ubuntu 10.10) on a 64-bit platform, and I have installed Eclipse Helios with ADK 2.3.3 & 3.0. I'm new to Android development, and am trying to run a sample app [~/android-sdk-linux_x86/docs/resources/samples/Wiktionary/...]. However, I am getting the following error messages when I Run it:
Code:
[2011-04-14 14:24:23 - Snake] Still no compatible AVDs with target 'Android 3.0': Aborting launch.
[2011-04-14 14:24:23 - Snake] Performing com.example.android.snake.Snake activity launch
[2011-04-14 14:24:46 - Snake] Launch canceled!
Where can I find an Android Virtual Machine for my Android 2.3.3 (on my 64-bit Linux)?
Hi!
You should rename your thread to "SDK",since "ADK" means a completely different on Android.
First off, can you please all steps you took to install eclipse and the sdk ?
Make sure you follow step-by-step this guide: developer.android.com/sdk/installing.html
Robson

[Q] Not able to install the SDK packages, coz SDK blinks for a sec and then closes.

So, I am sorry, if this is a stupid question, I am novice here. I am trying to run SDK manager on windows 7, 32-bit os. It's already installed. Whenever I try running SDK manager, It flashes for a sec and disappears. When I tried executing android.bat from tools, what I got was :
C:\Program Files\Android\tools>android
[INFO] Starting Android SDK and AVD Manager
'xcopy' is not recognized as an internal or external comman
operable program or batch file.
No command line parameters provided, launching UI.
See 'android --help' for operations from the command line.
Exception in thread "main" java.lang.NoClassDefFoundError:
ts/Display
at com.android.sdkmanager.Main.showMainWindow(Main.
at com.android.sdkmanager.Main.doAction(Main.java:2
at com.android.sdkmanager.Main.run(Main.java:99)
at com.android.sdkmanager.Main.main(Main.java:88)
I have java 6 up date 25 already installed and the path is already added to environ var. Also I am interested in developing for android, If anybody is interested in showing me how, I wud be very greatfull. Thanks in advance. Plzzzzzzz........ HELP.
Currently Using : HTC Desire Z.
And yes, I am having eclipse 3.2 already installed on my system. PLzz help................................., somebody......................, anybody.
General tip
If you double click some techie program on Windows and see it just appear and disappear like that, it usually means that this program is meant to be run in a command line window.
So go to All Programs -> Accessories -> Command Prompt and open that
Then go to wherever that program is installed and run it from there.
Oh, and note that Android development needs the JDK, not the JRE version of Java, The JDK contains all the extra parts needed for Java software development in general, including key parts needed by the Android SDK.
While the JRE can be downloaded from www java com , the JDK is only available from java.sun.com .
P.S.
Sorry for not making proper links, but I have not made enough posts to allow them yet.

[Q] ADT Eclipse windows 8

Hey,
I'm trying to create an adt in eclipse on windows 8 and im getting this message when i start the adt. Failed to create Context 0x3005
emulator: WARNING: Could not initialize OpenglES emulation, using software renderer.
could not get wglGetExtensionsStringARB.
Any help will be appreciated.

[Completed] Just Getting Started with Android Development Studio

I've downloaded the Dev Studio then it says I need the JDK. So, I downloaded it and now it's saying I need the JVM. The dialog box also says if I have already downloaded the JDK then I have to go into System Settings and point to it. How do I do that?
Hi there and welcome to Assist,
Here is few guides where you can start from:
[Tutorial] Install Sun Java JDK 6 on Ubuntu 12.04 LTS
[GUIDE][DEV] How to install Sun Java Oracle 1.6.0 - 1.7.0 jdk on Ubuntu 12.04+
[UBUNTU] SDK,JDK,ADB Script
Good luck

Categories

Resources