0

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

inf3rno
  • 24,976
  • 11
  • 115
  • 197
user1346730
  • 165
  • 4
  • 13
  • Can you please post your log output (which you can do by typing: adb logcat) – Booger Jan 12 '13 at 16:52
  • K:\General\dads\tools\adt-bundle-windows-x86\adt-bundle-windows-x86\sdk\platform -tools>adb logcat - waiting for device - – user1346730 Jan 16 '13 at 01:00
  • I did the above command and nothing happened. I tried to start the app and got the same error. – user1346730 Jan 16 '13 at 01:01
  • You have more then 1 device attached. Make sure you have 1 emulator or device attached, and do same command. Then search for NULLPointer (likely). – Booger Jan 16 '13 at 02:15
  • When I go into the AVD Manager and press start (after following instructions for adding a new one in getting started), then launch, I get the error. So not sure how to attach an emulator if that is not how you do it. – user1346730 Jan 17 '13 at 12:58

1 Answers1

0

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

  • k the emulator seems to show, thought I get the following errors when I launch it from eclipse avd manager Starting emulator for AVD 'AvdTest' emulator: ERROR: Could not load OpenGLES emulation library: Could not load DLL! emulator: WARNING: Could not initialize OpenglES emulation, using software renderer. emulator: warning: opening audio input failed emulator: emulator window was out of view and was recentered – user1346730 Mar 19 '13 at 01:38
  • Then I tried to launch the test app and nothing happens, expected hello world to pop onto the emulator, but nothing appeared [2013-03-18 20:31:59 - MyTestApp] ------------------------------ [2013-03-18 20:31:59 - MyTestApp] Android Launch! [2013-03-18 20:31:59 - MyTestApp] adb is running normally. [2013-03-18 20:31:59 - MyTestApp] Performing com.example.mytestapp.MainActivity activity launch – user1346730 Mar 19 '13 at 01:39
  • [2013-03-18 20:31:59 - MyTestApp] Automatic Target Mode: Unable to detect device compatibility. Please select a target device. [2013-03-18 20:32:04 - MyTestApp] Uploading MyTestApp.apk onto device 'emulator-5554' [2013-03-18 20:32:05 - MyTestApp] Installing MyTestApp.apk... [2013-03-18 20:32:13 - MyTestApp] Success! [2013-03-18 20:32:13 - MyTestApp] Starting activity com.example.mytestapp.MainActivity on device emulator-5554 – user1346730 Mar 19 '13 at 01:39
  • k, never mind just had to wait longer for the emulator to come up, then run the test app. – user1346730 Mar 19 '13 at 01:45