Problems with the SDK using Ubuntu 10.04 64 bit

by Joshua LÁúČckers » Wed, 14 Apr 2010 03:03:42 GMT

Sponsored Links
 I have downloaded the SDK and installed the necessary plugins for
Eclipse to start developing Android applications.
Whenever I try to start the ddms I get the following error(s):

18:57 E/ddms: shutting down due to uncaught exception
18:57 E/ddms: java.lang.UnsatisfiedLinkError: no swt-gtk-3550 or swt-
gtk in swt.library.path, java.library.path or the jar file
        at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
        at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
        at org.eclipse.swt.internal.C.<clinit>(Unknown Source)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
        at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)

I am using the open jdk and I already installed the package libswt-
Does anyone know how to solve this problem?


Other Threads

1. How to apply LOCAL_AAPT_FLAGS to eclipse project?


In the, there are AAPT flags set as below.

I'm wondering how to apply this AAPT flag in the eclipse project, so that
the .dat raw data files will not be compressed in .apk? thanks.



2. Error inflating class of custom component

I'm trying to implement an custom component by extends TextView and
override all counstructor, but I always get "Error inflating class"
exception when I run my program in the emulator.

What's worng with my code?

Here is my custom component source code:
import android.widget.TextView;
import android.content.Context;
import android.util.AttributeSet;

public class MaidDialogView extends TextView
    public MaidDialogView (Context context)
        super (context);

    public MaidDialogView (Context context, AttributeSet attrs)
        super (context, attrs);


    public MaidDialogView (Context context, AttributeSet attrs, int
        super (context, attrs, defStyle);

And here is my layout XML:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="

    <view class="org.bone.MaidDialogView"
          android:text="Hello World, MaidroidGTD"/>


3. ECDSA for a Universal Keystor

4. End user IP for android

5. Limit the memory usage of android.

6. Can codesourcery or some other compiler be used for compiling android

7. How to change the selected item's layoutparams in GridView?