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. Market flood prevention

Hello

We would like to be able to update our apps, but there are a large
number of them and we are getting negative responses from other
developers regarding market flooding. We would like to resolve this.
Originally, we believed that updating the VersionCode WITHOUT updating
the VersionName would resolve this and allow us to do a "silent"
update that would not appear in the Just In section, but it seems we
were wrong, as an app update just flooded the Just In section.

Any ideas? We would like to get this resolved based on feedback from
the community. I have a query in the Android Help as well.

Thanks

-- 

2. variable parameter function problem

Hi All,

Good Morning Folks, i have a small problem in hand not sure if it has
anything to do with android platform as such ...
i have found that if we have a variable argument function and from
within the variable argument function you call up any other function
having two parameters then the second parameter address is offset by
-0x10... if you guys find any problem with code please let me know,
any suggestions and pointer are welcome ...

in the below sample code the parameter temp in the function strMan is
offset ...

#include <unistd.h>
#include <android/log.h>
#include <pthread.h>
#include <stdio.h>


void strMan(char* str, char* temp)
{
   __android_log_print(ANDROID_LOG_INFO, "hello-sample",  "before
string manipulation %s", temp);
 //the address of temp is offset by -0x10
   strcpy(temp, str);
   __android_log_print(ANDROID_LOG_INFO, "hello-sample",  "after
string manipulation %s", temp);
}

void varfunc(char* str,...)
{
    va_list listOfFileElement;
     char* temp = NULL;
       char str1[30]={0};
   __android_log_print(ANDROID_LOG_INFO, "hello-sample",  "inside var
func");

   va_start( listOfFileElement, str );

   temp = str;

   while(temp != 0)
   {
       memset(str1,0,30);

       __android_log_print(ANDROID_LOG_INFO, "hello-sample",  "inside
loop for %s", str1);

       strMan(temp,str1);
       __android_log_print(ANDROID_LOG_INFO, "hello-sample",  "after
loop  %s", str1);
       temp = (char*) va_arg( listOfFileElement, char* );
   }
}


int main(int argc, char* argv[])
{
   char* hStr  = NULL;
   char* hStr1 = NULL;
   char* hStr2 = NULL;
   hStr = (hMyStruct)calloc(1,30);
   hStr1 = (hMyStruct)calloc(1,30);
   hStr2 = (hMyStruct)calloc(1,30);

   strcpy(hStr,"Sanjeeth");

   strcpy(hStr1,"Ganapathy");

   strcpy(hStr2,"Sanju");

    varfunc(hStr,hStr1,hStr2);
   return 1;
}

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. Using subprojects

4. Bug fix on android 2.1

5. Connecting to Wi-Fi Network

6. Seven Segment Digit package?

7. Developers in Central Florida?