You are not logged in.

#1 2009-09-19 23:43:20

H4z3
Member
Registered: 2009-09-19
Posts: 1
Website

Arch64 and Android SDK Emulator issues

Hey guys. I have recently installed the newest version of Eclipse and the Android SDK. I have had to install 32-bit libs so everything runs ok, which I have successfully done. After thinking all was fine and dandy I proceeded to execute my application, in reply my console (from within Eclipse) spat out the following message:

[2009-09-20 00:29:47 - HelloAndroid]------------------------------
[2009-09-20 00:29:47 - HelloAndroid]Android Launch!
[2009-09-20 00:29:47 - HelloAndroid]adb is running normally.
[2009-09-20 00:29:47 - HelloAndroid]Performing com.example.helloandroid.HelloAndroid activity launch
[2009-09-20 00:29:47 - HelloAndroid]Automatic Target Mode: launching new emulator with compatible AVD 'my_avd'
[2009-09-20 00:29:47 - HelloAndroid]Launching a new emulator with Virtual Device 'my_avd'

So, as far as I was concerned I was to wait a few minutes (maybe a little longer) for the emulator to work it's magic. 20 minutes later I found myself scratching my head, wondering why the emulator hadn't booted yet. Any ideas?

If I try and run the emulator via command line independently I get the follow message:

[haze@shirley tools]$ emulator -avd my_avd
Segmentation fault

Any ideas?

Last edited by H4z3 (2009-09-19 23:43:36)


Arch x86_64

Offline

#2 2009-10-09 13:34:14

kaouete
Member
Registered: 2008-12-22
Posts: 40

Re: Arch64 and Android SDK Emulator issues

Hello,

You can try adding -no-audio to the emulator cmd line, it worked here, but not inside Eclipse…

Offline

#3 2009-10-28 07:04:30

scriptmunkee
Member
From: mUnKeE hOuSe
Registered: 2008-04-19
Posts: 22

Re: Arch64 and Android SDK Emulator issues

H4z3, I'm not sure why you are getting seg faults but, I just got everything setup for Android 2.0 development on my 64-bit driven laptop. I did the following:

1) Downloaded Android v2.0 SDK & setup buy running

 sh %path_to_sdk%/android-sdk-linux/tools/android

Then under "Available Packages", download the SDK Platform and other APIs you want. I downloaded Android 2.0 & 1.6, Google API 5 & 4 and the documentation.

2) Downloaded Eclipse 3.5 for EE Development from eclipse.org

3) Installed lib32 libraries:

sudo pacman -S lib32-libstdc++5 lib32-libx11 lib32-sdl lib32-ncurses lib32-zlib lib32-libext lib32-alsa-lib

4) Added the ADT to Eclipse following these instructions http://developer.android.com/sdk/eclipse-adt.html


5) I then followed the Hello World example.


Issues noticed
1) Clicking some of the Eclipse & Android SDK/SVD Manager buttons didn't register. I had to use the keyboard shortcuts to fully press the buttons

2) The emulator does take a while to load. I had issues with it not loading and sucking up my CPU. But I realized that I wasn't allowing the initial run of the emulator to fully finish before I closed it. Give it a good few minutes to run before stopping it.

I hope this helps,

Ken

Last edited by scriptmunkee (2009-10-28 07:16:37)


sCrIpt mUnKeE

Offline

#4 2009-11-18 01:42:31

mklebel
Member
From: Minnesota
Registered: 2009-08-27
Posts: 8

Re: Arch64 and Android SDK Emulator issues

scriptmunkee wrote:

Issues noticed
1) Clicking some of the Eclipse & Android SDK/SVD Manager buttons didn't register. I had to use the keyboard shortcuts to fully press the buttons

I had the same exact problem as you. Set this env variable: GDK_NATIVE_WINDOWS=true
http://bugs.archlinux.org/task/16618?project=1

I got the emulator running by adding -no-audio on the command line, but still nothing inside eclipse.....

hmm

Offline

#5 2010-02-28 14:46:50

xiwenc
Member
From: Netherlands
Registered: 2010-02-28
Posts: 6
Website

Re: Arch64 and Android SDK Emulator issues

mklebel wrote:

I got the emulator running by adding -no-audio on the command line, but still nothing inside eclipse.....
hmm

I managed to get eclipse start the emulator by creating an AVD with the following properties:
audio playback support: no
audio recording support: no

Happy android-dev'ing smile


--
there are 10 types of people in this world.

Offline

Board footer

Powered by FluxBB