My Android SDK doesn't work (in combination with Eclipse) in Windows 7 x64
When I start Eclipse, I get the message
Failed to parse the output of 'adb version'
Click to expand...
Click to collapse
Before, I messed up my registry, so I reinstalled Windows. Somehow, I keep getting this problem.
My configuration:
Java x86 installed
c:\program files (x86)\java\jdk1.6.0_24\bin added to PATH
Android SDK installed:
Android SDK Tools, revision 10
Android SDK Platform-tools, revision 3
Documentation for Android SDK, API 11, revision 1
SDK Platform Android 3.0, API 11, revision 1
SDK Platform Android 2.3.3, API 10, revision 1
SDK Platform Android 2.3.1, API 9, revision 2 (Obsolete)
SDK Platform Android 2.2, API 8, revision 2
SDK Platform Android 2.1-update1, API 7, revision 2
SDK Platform Android 1.6, API 4, revision 3
SDK Platform Android 1.5, API 3, revision 4
Samples for SDK API 11, revision 1
Samples for SDK API 10, revision 1
Samples for SDK API 8, revision 1
Samples for SDK API 7, revision 1
Google USB Driver package, revision 4
Android Compatibiliy package, revision 1
Google Market Billing package, revision 1
Google Market Licensing package, revision 1
C:\Program Files (x86)\Android\android-sdk\platform-tools added to PATH
C:\Program Files (x86)\Android\android-sdk\tools added to PATH
Google results show me to copy all files from 'platform-tools' to 'tools' folder, but this has no effect. Also, 'kill-server' and 'start-server' don't work either.
When I open command-prompt, navigate to C:\Program Files (x86)\Android\android-sdk\tools, and execute 'ddms.bat' I get the same message.
The command 'adb version' gives me 'Android Debug Bridge version 1.0.26'.
Anyone know how to fix this?
same problem here:
jdk 64bit
eclipse 64bit
works fine if i use jdk 32bit and eclipse 32bit.... someone can help?
Look for adb.exe where is it located?
Add the location to PATH:
Done... but still same problem... :/
Found the solution... for anyone who will have this problem:
turned off COMODO Defense+ module and all worked....
Dark3n said:
Look for adb.exe where is it located?
Add the location to PATH:
Click to expand...
Click to collapse
Can you tell detail ???
wrongman1982 said:
Found the solution... for anyone who will have this problem:
turned off COMODO Defense+ module and all worked....
Click to expand...
Click to collapse
thanks work fine.!!
added full permision the folder sdk/.. in Comodo antivirus
Related
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.
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.
I just downloaded the new android studio 8 and also previously installed Jdk 8 but when I open my android studio it shows me Jdk not found error and then I made a environment variable with the specified path and I restart my system. But it still shows me the same error.....
At the beginning I am new to android building from source.
I successfully built android for android emulator
useing android 4.0.1 AOSP source
(useing Ubuntu 14.04 64bit)
but when I run $emulator
I get errors
so I decided to run my imgs in windows sdk .
I moved the generated files
system.img
ramdisk.img
userdata.img
to android sdk path in windows
to the following path
....../android-sdk/platforms/android-15/images
but when I start android emulator it's stuck in black screen
but when I use the default android sdk files in the above
path the emulator started successful
.
the question is
can I run my system.img which I built useing Linux in windows?
is android system.img (x86)
system independent?
Hey everybody,
I got tired of having to manually install the Android SDK on every platform, so I built this tool.
You can think of it as a cross-platform spiritual successor to Minimal ADB and Fastboot that's always up-to-date.
It installs the base Android SDK along with the latest platform tools directly from Google's servers with one command.
As it installs the SDK, the platform tools can be updated at any time with sdkmanager.
GitHub - hacker1024/gibadb: A tool to easily install the Android SDK command-line and platform tools.
A tool to easily install the Android SDK command-line and platform tools. - GitHub - hacker1024/gibadb: A tool to easily install the Android SDK command-line and platform tools.
github.com
What's the benefit to just downloading platform-tools from google?
https://forum.xda-developers.com/t/tool-minimal-adb-and-fastboot-2-9-18.2317790/post-84252975
@aIecxs
This tool also downloads a minimal version of the Android SDK, which can be used to update the platform tools later on.
It also extracts them for you, tells you what to add to your path, and, on Windows, opens up the path settings.
theOriginalSuperl2 said:
@aIecxs
...........it also extracts them for you, tells you what to add to your path, and, on Windows, opens up the path settings.
Click to expand...
Click to collapse
II installed gibadb but cannot find the path to it. i ran gibadn command into cmd, it can't find it. What is the installation path to define it in the variables ?