Android SDK Eclipse Error (Fail to Load Library) - android

I am having trouble installing the Android SDK, specifically with Eclipse. Every time i try to open it, I get this error message:
That file exists in that path, and i have no idea why it cant be opened.

Working pairings of OS, JDK and Eclipse Android SDK:
32-bit OS - 32-bit JDK - 32-bit Eclipse -32 bit android sdk (32-bit only)
64-bit OS - 32-bit JDK - 32-bit Eclipse -32 bit android sdk
64-bit OS - 64-bit JDK - 64bit Eclipse - 64 bit android sdk(64-bit only)

First, make sure that you're version of Eclipse and JDK match, either both 64-bit or both 32-bit.
Second, the -vm argument in eclipse.ini should point to the java executable. See
http://wiki.eclipse.org/Eclipse.ini for examples.

Related

Android Studio Windows 64bit JDK 32 bit

I downloaded android-studio-bundle-135.1740770-windows.exe and installed android studio. But when I am trying to open, it's throwing an error like "Please install a 64-bit JDK"
How to use Android Studio with Java 32 bit?
Went through the above link but downloading that version didn't fix my issue.
And most of my applications depend on java 32 bit version and i can't install 64 bit jdk.
Is there any fix to this or I am doing anything wrong. I have the class path set correctly in the environment variables with JAVA_HOME property.

Android Studio Fails To Launch On Windows 7 x64

I installed Android Studio but the below error is being displayed on start-up .
I had multiple versions of Java JDK installed on my system. i.e JDK 1.6 (64 bit), JDK 1.8 (both 64 bit and 32 bit).
I had also set the java_home path to (E:\Program Files\Java\jdk1.8.0_31\) 64 bit but some how android studio is showing error as it is using JVM path as jdk_1.6.0_12\jre (shown in image )
Any help is appreciated on how to make Android start up without uninstalling any JDK version.
Just change your path in this order: 64bit java path first and later 32bit java path.
Finally have to end up with unistalling java 1.6

ADT failed to run on windows 7 32bit

I have a problem with running "adt-bundle-windows-x86_64-20131030" software on my laptop. I have a 32bit version of windows 7 and of course 32bit version of jre. When I want to run eclipse under that program, it fails with message:
"The version of this file is not compatible with the version of windows you're running. Check your computer's system information to see whether you need an x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher."
Why this is happening? (In the download page of that software it said that can be used in both 32bit and 64bit environment!).
That package name contains x86_64 which points out that this is a x64 build and not a x86 as the name could been interpreted as.
From Wikipedia:
x86-64 (also known as x64, x86_64 andAMD64) is the 64-bit version of the x86instruction set.
You can download the latest version of the adt plugin from the Android homepage:
http://developer.android.com/sdk/index.html
Here is the link for 32bit version of adt-bundle-windows 7. [http://developer.android.com/sdk/index.html]

ADT Bundle for Mac: Eclipse cannot be started

I downloaded Android Developer Tools Bundle for Mac from here. The System Requirements section says it needs "Mac OS X 10.5.8 or later (x86 only)". I tried to start Eclipse.app in adt-bundle-mac-x86_64/eclipse, but I got the following error message:
You can't open the application Eclipse.app because it is not supported
on this type of Mac.
I have a Macbook with 32-bit Intel Core Duo CPU and Mac OS X 10.6.8 and JRE 1.6.0_39. Why can't I start Eclipse from the ADT bundle? If I install Eclipse Classic 4.2.1 32-bit from here, it works.
http://developer.android.com/sdk/index.html#download
Go there and make sure you choose 32 bit for the download. That should resolve your issue.
This:
I have a Macbook with 32-bit
and this:
I tried to start Eclipse.app in adt-bundle-mac-x86_64/eclipse
do not line up. It would appear that you are trying to use a 64-bit Eclipse on a 32-bit environment, based on your description.
There does not appear to be a 32-bit OS X version of the ADT bundle, so you may need to install the SDK Tools and Eclipse separately rather than use the bundle.

Android SDK says I don't have a JDK, don't I?

I keep getting the message that I should have the JDK installed to be able to install Android SDK, it says a JRE is not enough. The thing is that I have a JDK. These are my environment variables:
CLASSPATH: C:\Program Files\Java\jdk1.7.0\lib
JAVA_HOME: C:\Program Files\Java\jdk1.7.0
JRE_HOME: C:\Program Files\Java\jdk1.7.0\jre
PATH: C:\Program Files\Java\jdk1.7.0\bin
although to my surprise, cmd shows this:
C:\Users\Thiago>java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode, sharing)
what's going on?
try to install all 32 bit softwares only. It solved my problem.
Android SDK itself is 32 bit and it identifies only 32 bit JDK. So install following softwares.
JDK (32 bit)
Android SDK (while installing SDK, make sure install it in directory other than "C:\Program Files (x86)", more probably in other drive or in the directory where Eclipse is extracted)
Eclipse (32 bit) and finally ADT.
i tried it and all works fine.
Your computer will always search through the PATH env variable in order, so if you also have the location to your JRE before the location to the JDK in your PATH environment variable, then it will always go with the JRE. Swap their locations around and it should work.
There is a strange issue that may occur while installing the Android SDK on some machines. This may be what you're running into. Here is the solution to it:
Android SDK installation doesn't find JDK

Categories

Resources