ddms not running on vista 64bit

by hilkiah.lavin...@gmail.com » Tue, 21 Apr 2009 23:12:16 GMT


Sponsored Links
 Hi All,

I started learning the SDK only tonight but came upon a stumbling
block and need some assistance.  When I try to run ddms from the
command line, I get the following :

C:\Users\hilkiah>ddms
41:49 E/ddms: shutting down due to uncaught exception
41:49 E/ddms: java.lang.UnsatisfiedLinkError: C:\android-sdk-
windows-1.1_r1\tool
s\lib\swt-win32-3236.dll: Can't load IA 32-bit .dll on a AMD 64-bit
platform
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:
123)
        at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
        at org.eclipse.swt.graphics.FontData.<init>(FontData.java:259)
        at com.android.ddms.PrefsDialog.setDefaults(PrefsDialog.java:
198)
        at com.android.ddms.PrefsDialog.init(PrefsDialog.java:140)
        at com.android.ddms.Main.main(Main.java:74)


How can I get around this issue??

I'm running android SDK v1.1 R1 of the SDK and Java 6 update 13
(64bit).

Thanks in advance.
Hilkiah

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



ddms not running on vista 64bit

by Henning » Wed, 29 Apr 2009 15:04:53 GMT


 You have to install the 32bit version of the Java 6 SDK.
:-)

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


Sponsored Links


Other Threads

1. init logging (gingerbread)

Hello,

I am trying to debug a problem in the init process;

I would like to know - generally speaking, what is the best way to
debug the init process? ... there are several calls to INFO - where do
these messages go?

The main problem now is, it appears that init never returns from the
function init_parse_config (with my crude debugging method of creating
directories).


    INFO("reading config file\n");
        mkdir("/bar2", 0755);
    init_parse_config_file("/init.rc");
         mkdir("/bar3", 0755);

I changed the on fs rules so I could mount filesystems over nfs (could
it be why it's breaking) ? From what I understand actions are just
shell commands.

---0-0-0-

on fs
# mount mtd partitions
    touch /fs-start
    # Mount /system rw first to give the filesystem a chance to save a
checkpoint
    #mount yaffs2 mtd@system /system
    #mount yaffs2 mtd@system /system ro remount
    #mount yaffs2 mtd@userdata /data nosuid nodev
    #mount yaffs2 mtd@cache /cache nosuid nodev
    mount nfs 192.168.1.64:/storage/workspace/android/out/target/
product/generic/system /system
    mount nfs 192.168.1.64:/storage/workspace/android/out/target/
product/generic/system /system ro remount
    mount nfs 192.168.1.64:/storage/workspace/android/out/target/
product/generic/data /data nosuid nodev
    #mount yaffs2 mtd@cache /cache nosuid nodev

---0-0-0-

-ravi

-- 

2. MapActivity ClassNotFound Error

Hi All,

                I am using a class that extends MapActivity.I got following
*NoClassDefFoundError *error.

          Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime( 4538): *java.lang.NoClassDefFoundError*:
com.permeative.cityessentials.MapPrac
E/AndroidRuntime( 4538):     at
com.permeative.cityessentials.MainActCall.onCreate(MainActCall.java:21)
E/AndroidRuntime( 4538):     at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime( 4538):     at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459)
E/AndroidRuntime( 4538):     at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)
E/AndroidRuntime( 4538):     at
android.app.ActivityThread.access$2200(ActivityThread.java:119)
E/AndroidRuntime( 4538):     at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)
E/AndroidRuntime( 4538):     at
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 4538):     at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 4538):     at
android.app.ActivityThread.main(ActivityThread.java:4363)
E/AndroidRuntime( 4538):     at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 4538):     at
java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 4538):     at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime( 4538):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime( 4538):     at dalvik.system.NativeStart.main(Native
Method)
I/Process ( 1273): Sending signal. PID: 4538 SIG: 3

I am calling MapPrac Class like :-



        Intent myIntent = new Intent(MainActCall.this,
                MapPrac.class);
        startActivityForResult(myIntent, 0);



    But when I have created different project where I am using these class
MapPrac extends MapActivity then its working Fine.Can anyone tell me where
actually the problem?

-- 

3. Where can I find information about sending/receiving MMS messages, and receiving MMS notifications?

4. any idea to get control for setting the default launcher app through programming

5. Portrait and Landscape layouts

6. Android HAL code debug

7. ActiveRecord schema for Android