Can't install Android SDK - "can't find" JDK - G Tablet General

Never mind - hitting Back and then Next again seems to get around this. It doesn't make the slightest bit of sense, but it did work for me.
I'm going a bit nuts trying to install the Android SDK using the installer installer_r10-windows.exe on my 64-bit Windows 7 computer. It always gives me an error about not having the Java development kit installed, despite the fact that I've installed it using jdk-6u24-windows-x64.exe. I have properly set the environment variables for both the jre and the jdk and rebooted. None of this seems to make any difference.
Any hints?

I had the same problem. I downloaded the zip file, instead of the exe, and that worked.

mstevens,
You really don't need the SDK to to the "NVFlash" stuff needed in connection with the ROMs here.
You could go to the "NVFlash" Recovery thread STICKY at the start of
Developers forum and download the "Windows" .zip files there and install
it. The procedure is part of the NVFlash stuff.
If you need the whole SDK then so be it. But if you don't this is an
alternative.
Rev
http://forum.xda-developers.com/showthread.php?t=861950

I'd already been running stuff from the extracted .zip file.
One of my computers seems unable to run an emulator - even though it can create .avd files with no difficulty, it claims it can't find them when I try to launch one.
I'd hoped that a fully-installed version of the sdk might fix this. It didn't. Oh, well.
However, as noted in the edit to my original post, I did find a somewhat silly fix for my installation problem.

Related

Cannot open ddms.bat in order to take screenshots on Nexus One

I wanted to take screenshots of my Nexus One (2.2 FRF91/T-Mobile/Stock) but I'm just a newbie so I followed the guide on andriodcentral Anrdroid 101 tips. (Sorry I can't link to it since I'm a new user on these forums
That guide led me to another guide on how to install the sdk
When I tried to pull my 3rd party apps, cmd didnt do anything it simply said "0 pulled, 0 skipped", however I was able to pull my standard apps. I'm confident the sdk was installed correctly though.
I'm using a laptop with Windows 7 64bit and an AMD processor, I'm not sure if that information is helpful or not
I've already downloaded and installed the android 2.2 sdk, java runtime environment, java development kit. I've also properly installed the ADB drivers for the Nexus One. I also downloaded Eclispe but when I tried to run it, the application won't open. I have a feeling its because I didn't install it properly.
My problem now is that the ddms.bat (Dalvik Debug Monitor) won't open when I double click on it. I tried to right click and run as administrator but that didn't work either. In both cases when I try to open it, a cmd windows opens for a fraction of a second and then closes before I can read it. So I googled it and found a website that seemed to be able to solve the problem but its geared towards linux users.
I specifically followed these directions "To fix this a replace of the bundled swt is needed. The file is located under android-sdk-linux_x86-1.5_r3/tools/lib/. Rename swt.jar to swt_32b.jar. Next download swt for your platform. I have used swt-3.4.2-gtk-linux-x86_64.zip. Unpack the file swt.jar in the zipfile to android-sdk-linux_x86-1.5_r3/tools/lib/ and finally start ddms" but that didnt work either. So now my android-sdk-windows/tools/lib/x86_64 is full of other files rather than just having that swt.jar file.
Can anyone please help on getting ddms.bat to open or on how to get eclipse to open?, I'm so close to being able to take screenshots.
Some notes:
1.I'm not interested in rooting (too worried about bricking my phone), so please don't recommend that I root first.
2. USB debugging was ON when I tried it
Open up a command prompt. (Start -> search "cmd")
use CD to get to the folder where you keep ddms.bat
open ddms.bat from the command prompt by simply entering "ddms.bat" then press Enter. That will keep it from closing the window.
Just to see if it gives any errors.
Thank you so much!
However the error message that cmd is now giving me is : WARNING: Java not found in your path.
Could you please tell me how I can do this? for the time being I'm searching the internet for help but the first thing I found seems super complicated
I finally got it to work, wish I could link the imgur pic, but I'm still a new user but here's the end of the imgur link code :ucBpY
TaeKwonDonkey said:
I finally got it to work, wish I could link the imgur pic, but I'm still a new user but here's the end of the imgur link code :ucBpY
Click to expand...
Click to collapse
how did you fix it?
Follow this guide....it may help you click me..!! :good:
thank you,
P.007

[Q] Setting up Eclipse

Hey all I was wondering if someone could help me out in installing and setting up eclipse. I tried before and ended up installing something called glassfish3 or something like that so what would be ideal is a list of links to the downloads I need to get maybe in the order I need to install them in? =P It would really be greatly appreciated!
Thanks,
D3luSi0n4L
Anyone? Please! I have the JDK & Java & Eclipse installed and Eclipse will not startup, I get an error....
"A Java Runtime Enviroment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java Virtual machine was found after searching the following locations:
C:\eclipse\jre\bin\javaw.exe
javaw.exe in your current PATH"
Someone suggested that I need to install the SDK but I thought that was only needed specifically for Android? & Before i setup Android I'd like to have Eclipse fully functional to avoid and problems that could occur. I installed Eclipse for EE Developers or whatever, the biggest file they and I installed JDK 6 Update 21
Eclipse (Top One) : eclipse*dot*org/downloads/
Java : oracle*dot*com/technetwork/java/javase/downloads/index.html
Any and all help is greatly appreciated!
Sincerely,
D3luSi0n4L
I'm almost close of not asking any more questions but I had problems with apk manager, I got it right, and I had problems with Avabox, and I got that right but now I'm having problems with Eclipse. I installed basically both files of Eclipse the big file and the small fiile (I didn't know which one I needed).
when I open the eclipse program I get this message:
"Failed to load the JNI shared library : c:\program files (x86)\java\jre6\bin\client\jvm.dll
I don't know what this means. can someone help me? thanks.
Sorry I'm also a noob at installing eclipse, but thought this might be a good place to ask my question too. I found a tutorial on how to install everything (i.e. eclipse, JDK, and SDK) put it said I needed to change my PATH to point to /tools and now after doing that I can't open eclipse. I go the same error you did in your first post. I'm thinking I needed the other lines that were in the PATH, but now I don't know what they were.
If you follow the steps here, it is fairly simple and easy:
http://developer.android.com/sdk/installing.html
You have to download first de java JDK (jre is not enought) and then download and instal eclipse... Just follow the instructions on the link
Sent from my GT-P1000 using XDA App
I've gone through this and had eclipse up and running. Even created some AVDs. Here is the part that screwed it up though.
"On Windows, right-click on My Computer, and select Properties. Under the Advanced tab, hit the Environment Variables button, and in the dialog that comes up, double-click on Path (under System Variables). Add the full path to the tools/ and platform-tools/ directories to the path. "
D3luSi0n4L said:
Anyone? Please! I have the JDK & Java & Eclipse installed and Eclipse will not startup, I get an error....
"A Java Runtime Enviroment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java Virtual machine was found after searching the following locations:
C:\eclipse\jre\bin\javaw.exe
javaw.exe in your current PATH"
Someone suggested that I need to install the SDK but I thought that was only needed specifically for Android? & Before i setup Android I'd like to have Eclipse fully functional to avoid and problems that could occur. I installed Eclipse for EE Developers or whatever, the biggest file they and I installed JDK 6 Update 21
Eclipse (Top One) : eclipse*dot*org/downloads/
Java : oracle*dot*com/technetwork/java/javase/downloads/index.html
Any and all help is greatly appreciated!
Sincerely,
D3luSi0n4L
Click to expand...
Click to collapse
I downloaded the 32 bit version of eclipse and javaw.exe was not missing anymore. How do i use eclipse though?
Edit: I get it, JDK.

[Q] sdk tools for xp

is there a way to install the sdk phone tools on xp? I have the 6.1v and visual studios 2010. But when i try to install it says i have to have win7 or vista, and i cant put win7 on machine cause it only has 128m ram. I have a patch file that is suppose to let ya install but haven figured out how to yet.
There are ways to get it installed but the emulator requires Directx 10 so that's not going to work. Without the emulator all you can do is write and compile code but not test to see if it works or not. Not very useful.
XP barely runs on 128mb of RAM so I imagine Visual Studio would be absolutely miserable to use if usable at all.
If you wanna develop for WP7 I guess its safe to say it time for an upgrade.
i would say so as well. even a netbook has more capabilities than that
Im not much of a developer in some ways so as for now all im wanting to do is use the toms installer or the reg sdk deployment tool witch i have but when i try to launch program i get this error:
Could not load file 'Microsoft Smart Device.Connectivity,10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its
dependencies. The system cannot find the file specified.
Then when i try to install the Microsoft XNA Game Studio 4.0 windows phone from the WPDT_RTM_en_iso
i get this error: Microsoft xna game studio4.0 phone ex require visual 2010 or WPDT. install the required app and then relaunch setup. " witch i have the visual studio 2010 installed"
and i have a win7 netbook but have managed to have a kid that spilled tea on it so am trying to figure out the way to do this untill
i can afford to get another netbook.
Thanks for the help and replies guys, very appriciated!!
Ok so I got the xna game studio 4 to install but still getting the phone device connectivity error, is there something I can download to get by this and use the deployment
guess no solution huh
i don't believe so. the way i did it was to use a virtual machine so i could get the phone emulator working on an xp machine (virtual machine has windows 7 on it). but you don't have enough ram for that. you need at least 1.5gb dedicated to the virtual machine alone.
You can try this solution here http://forum.xda-developers.com/showpost.php?p=9618980&postcount=81. I just couldn't get it to install still as I kept getting an error saying could not install the following component .NET Framework 4 Multi-Targeting Pack.
i finally found a iso file and downloaded it then opened up the baseline.dat file and edited it according to the patch settings and everything works just like it does on win7 netbook, just wanted to see if it was possible and it is!
Thanks for the replies.
Could you share that info? Ive been dying to get SDK tools on my XP... Thanks
jasontac said:
i finally found a iso file and downloaded it then opened up the baseline.dat file and edited it according to the patch settings and everything works just like it does on win7 netbook, just wanted to see if it was possible and it is!
Thanks for the replies.
Click to expand...
Click to collapse
Can you please share that? I have 4 XP computers at home and neither of them can run it. It would be great as I need the SDK to run Chevron unlocker! Thanks!
Link pleaseee
I so desperately need this also
for those that want the tools on windows xp, here you go: http://blogs.msdn.com/b/astebner/archive/2010/05/02/10005980.aspx
I finally got it to install on XP!
Here's what I did,
Download the .iso file (it's at the bottom of the page) :
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=04704acf-a63a-4f97-952c-8b51b34b00ce
After, make a new folder on your desktop and extract the ".iso" file into the folder.
Next, I grabbed the ".zip" file from here, : http://forum.xda-developers.com/showpost.php?p=9618980&postcount=81
Take the baseline.dat from the .zip file and replace it in the one with the extracted .iso files. Then just run setup.exe from the file. It should work! But make sure you have about 3 gb free from your hard drive. And emulator doesn't work, but I'm sure its fine if your not a developer.
Remember to hit the thanks button if it worked for you!

Problems Downloading the SDK - Sprint Evo Shift

So I'm attempting to root my Evo Shift.
Before that, I need to download and Install both HTC Sync (Already Installed) and the SDK.
But The SDK won't install after I downloaded it. It says I need the Java SE Development Kit (JDK). I downloaded the JDK off of this page:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
I tried the first one. Same thing, didn't let me install the SDK when I tried again. Then I tried the last one. Same thing again. I already have JRE. I just need the JDK. The JDK got properly installed, but it still didn't let me go through with installed the SDK.
Does anyone know what I can possibly do?
Are there ways around this?
I got enough replies on my post for someone to tell me something.
Someone HAS to know the solution to this problem.
I read that if you just click back and then next again it will work. Tried that and I failed.
SOO many things I have tried.
I went back on the SDK download website and downloaded the .zip file instead of the .exe file. I extracted it but don't know where to go from there.
Is there another where of rooting my phone without SDK?
Bump
ANYONE?!

Android Kitchen thread CLOSED

I just went to the android kitchen thread to see if there have been any updates to accommodate java 7 and the dev has closed the thread
Any one know how to get the kitchen to recognize java 7, it still is looking for java in the jre6 folder and that isn't there anymore. I have even done a fresh install of cygwin after installing java 7 and it still didn't automatically recognize the new version.
Hopefully dsixda doesn't take too long a break but I am sure it is well deserved, it is a priceless tool.
You can have more than one version of java installed on your system you know. Java 7 isn't going to just magically improve anything for you really unless you're a developer.
True but didn't know if it was an fairly easy change to a script or something to get it to check/recognize the new location. Before it would let me get to the "building a rom from working folder" portion before it would give me a message about java, now it won't even start the kitchen saying it can't find java version.
I wouldn't consider myself a dev by any means but I build roms for my own use and to just try different things out to see how things work/change things, basically to learn what does what.
Between this issue and fact that I can't get pc to recognize my phone as a storage device anymore...I am lost.
Symlink java7 to the old location for java6.
adrynalyne said:
Symlink java7 to the old location for java6.
Click to expand...
Click to collapse
Just to add to what adrynalyne said (since it's the easiest way), that would be using the "ln" command on linux/unix/cygwin or mklink on windows.
Thanks for idea, tried mklink but in process realized I had x86 version of java6 and x64 of java7. So I tried just installing x86 version of java7 and opened up kitchen and was able to create output .zip from my current working folder
Now if I could just get pc to recognize phone properly... then maybe I think I will avoid updates of software for awhile.

Categories

Resources