$. /Ddms 16:23 D/ddms: initializing16: 23 E/ddms: shutting down due to uncaught exception16: 23 E/ddms: Java. lang. unsatisfiedlinkerror: cannot load 32-bit SWT libraries on 64-bit jvmat 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. widgets. display. createdisplay (unknown source) at Org. eclipse. SWT. widgets. display. create (unknown source) at Org. eclipse. SWT. graphics. device. <init> (unknown source) at Org. eclipse. SWT. widgets. display. <init> (unknown source) at Org. eclipse. SWT. widgets. display. <init> (unknown source) at com. android. ddms. uithread. runui (uithread. java: 330) at com. android. ddms. main. main (main. java: 97)
First, set the 64-bit SWT. Jar directory, you can download it from the Internet, or the tools/lib/x86_64 directory in the SDK, or the prebuilt/linux-x86_64/SWT directory of the compiled source code
(Optional) modify the ddms and other scripts,
For example, androidsdk/tools/Android, change the last line from: EXEC "$ java_cmd"-xmx256m $ OS _opts $ java_debug-djava. ext. dirs = "$ frameworkdir"-DCOM. android. sdkmanager. toolsdir = "$ progdir"-jar "$ jarpath" "$ @" to: EXEC "$ java_cmd"-d32-xmx256m $ OS _opts $ java_debug-djava. ext. dirs = "$ frameworkdir"-DCOM. android. sdkmanager. toolsdir = "$ progdir"-jar "$ jarpath" "$ @"