Android Emulator extremely slow

by James » Tue, 25 May 2010 01:59:56 GMT


Sponsored Links
 Hi,

I have tried starting the emulator, through Eclipse and the terminal,
and it is running extremely slowly.  It takes about ten minutes to
load, and once it displays the status bar across the top, error
message "(software) is not responding" is shown.

I am using Ubuntu 10.04, with the Linux SDK on the Android website.

I tried running the emulator with -no-audio and -no-skin, no
improvement.  The output of -show-kernel contains a few error
messages:

Unknown boot option `android.checkjni=1': ignoring
Unknown boot option `android.qemud=ttyS1': ignoring
Unknown boot option `android.ndns=4': ignoring

init: cannot find '/system/bin/playmp3', disabling 'bootsound'
init: cannot find '/system/bin/dbus-daemon', disabling 'dbus'
init: cannot find '/system/etc/install-recovery.sh', disabling
'flash_recovery'

init: sys_prop: permission denied uid:1000  name:user.language
init: sys_prop: permission denied uid:1000  name:user.region

The whole output is at  http://pastebin.com/3z8nnMAA . 

Looking at Ubuntu's system monitor, the emulator takes about 60MB of
RAM and most of the processor.

--James.

--



Other Threads

1. onKeyDown doesn't capture event

Hi,
I have a proble with onKeyDown:
my activity consists in a simple textView (as header) and a ListView
below it, I need to go back to the previous screen when the user
presses the back button.

Thus, I implemented the onKeyDown method. Everything works fine if the
list contains some elements, but when the list is empty the onKeyDown
method is never called...

Anyoene knows why?
Thanks in advance

Danilo
--~--~---------~--~----~------------~-------~--~----~

2. Controlling the width of listview items

Hi,

I'm trying to make a list that contains elements not necessarily
occupying the entire width of the screen, but even if using
android:layout_width="wrap_content" on my elements, they always behave
as if their width value were set to "fill_parent" instead.
If I set a fixed value for the width, e.g. "100px", that value is
indeed used, but I just can't get wrap_content to work.

Example simple list item:

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/
android"
        android:layout_width="wrap_content"
android:layout_height="wrap_content"
        android:background="#707">
                <TextView android:id="@+id/text1"
                        android:layout_width="wrap_content"
android:layout_height="wrap_content"
                        android:layout_alignParentTop="true"
android:layout_alignParentRight="true"
                        android:background="#770"
                        android:text="Text1" />
                <TextView android:id="@+id/text2"
                        android:layout_width="wrap_content"
android:layout_height="wrap_content"
                        android:layout_alignParentLeft="true" 
android:layout_below="@id/
text1"
                        android:background="#077"
                        android:text="Text2" />
</RelativeLayout>

What am I missing here? How do I accomplish a list item with
wrap_content behaviour, i.e., where the width of each RelativeLayout
is adapted to the length of the strings in the contained text views?

BR
/Henrik

--~--~---------~--~----~------------~-------~--~----~

3. Help for decoding the camera data from the PreviewCallback

4. A window does not automatiacally resize when an IME is shown

5. I want to run my application in system process instead of application

6. Using Parcelable with Android 1.5

7. How to change App Widget size on home screen?