LoadLibrary failed with error 998: Invalid access to memory location - android

I am trying to do the get started android app - there are two locations and two methods I have tried, both same result:
LoadLibrary failed with error 998:
Invalid access to memory location
Step 5 from this article.
Running the app from here.
I have installed the standalone adt app from the official SDK site.
Please note I initially had the 64-bit jdk installed AND installed the 64-bit adt standalone version. I received the same symptom. So I, subsequently, installed the 32-bit jdk and then installed the 32-bit adt standalone, and got the same issue.
adt version info
Android Developer Tools
Build: v21.0.1-543035
Java version
java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06)
Java HotSpot(TM) Client VM (build 20.12-b01, mixed mode, sharing)
My machine info
Windows 7 Home Premium Service Pack 1
Studio XPS 7100
AMD Phenom(tm) II X6 1035T Processor 2.60 GHz
6.00 GB RAM
64-bit Operating System

Go to android-sdk/Tools and rename emulator-arm.exe to emulator.exe. You may make backup of current old emulator.exe

Related

Getting Error If I Run Android Studio in Win 64 bit

I have a problem with Android Studio.
Error:CreateProcess error=216, This version of %1 is not compatible
with the version of Windows you're running. Check your computer's
system information to see whether you need a x86 (32-bit) or x64
(64-bit) version of the program, and then contact the software
publisher
Error:CreateProcess error=216, This version of %1 is not compatible
with the version of Windows you're running. Check your computer's
system information to see whether you need a x86 (32-bit) or x64
(64-bit) version of the program, and then contact the software
publisher
It's because you are running a 32-bit version android studio application on a 64-bit machine. Try to run studio64.exe (which is inside bin folder of android studio).

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]

Android SDK Eclipse Error (Fail to Load Library)

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.

Android Development Tools on Mac OS X

I am trying to install the ADT plugin on Eclipse, but it doesn't seem to be working. I tried using the ADT Bundle for Mac but I always get the error
dyld: unknown required load command 0x80000022
on the console. I tried both Eclipse Juno and Eclipse Indigo using the eclipse ADT plugin, it downloaded and installed the latter, but when I go in the Preferences, there is no 'Android' there... I'm using an iMac using Mac OS X v.10.5.8 (Leopard).
because something in the bundle is made specifically for a mac 10.6 and it isn't backwards compatible.
I'm having the same issue.
and here's my java
Device-873EF9:~ Tahj182$ java -version
java version "1.5.0_30"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_30-b03-389-9M3425)
Java HotSpot(TM) Client VM (build 1.5.0_30-161, mixed mode, sharing)
Device-873EF9:~ Tahj182$
Find out which Java version you have, it may be that your plugin requires a Java version.
Terminal:
$java -version

Missing requirement error before installing ADT plugin for Eclipse 3.7.0 in Win 7

I am receiving the following error when trying to install the Android Development Tools section of the ADT Plugin:
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Development Tools 12.0.0.v201106281929-138431 (com.android.ide.eclipse.adt.feature.group 12.0.0.v201106281929-138431)
I have attempted to install the tools using Eclipse's Installer as outlined in the instructions on Developer.Android.org's getting started site (http://developer.android.com/sdk/eclipse-adt.html#installing). The other three components (Android DDMS, Android Hierarchy Viewer, Android Traceview) install fine.
I've attempted a local install to no avail. I have attempted installing different versions of Eclipse (3.6.2 and 3.5). 3.6.2 gave the same error. I was unable to run 3.5 as it did could not find my JDK installation. I have uninstalled and installed the Android SDK several times in different locations in case it was a permissions error.
Here are my version specs:
Windows 7, x64
Eclipse SDK
Version: 3.7.0
Build id: I20110613-1736
Installed to: C:\Program Files\eclipse
Android SDK
Installed From: installer_r12-windows
Revision 12
Installed to: C:\Program Files (x86)\Android
JDK Installed
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
Installed to: C:\Program Files\Java
I have Ubuntu 11.10 install, which has Eclipse 3.7.0 included.
I was having the same problem. I sorted it by:
Select Windows menu, then Preferences.
Expand Install/Update and select Available Software Sites
Ensure that everything in there is selected. By default only the Android site was selected for me.
Then try the Android ADT install again, ensuring that 'Contact all update sites...' is selected.
During the install, Eclipse can now find and install the required dependencies and everything will install and run just fine.
I don't think Java 7 is supported. Try with the latest Java 6.
Ensure you have the option "Contact all update sites during install to find required software". This option is located in the lower left corner on the first screen after choosing Help/Add New Software. This is unchecked by default. This WILL FIX the issue.

Categories

Resources