ubuntu 64비트 시스템, ddms 오픈 후 swt 오류 발생

1517 단어 ubuntu
$ ./ddms 
16:23 D/ddms: Initializing
16:23 E/ddms: shutting down due to uncaught exception
16:23 E/ddms: java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
	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.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)

, 64 swt.jar , , sdk tools/lib/x86_64 , prebuilt/linux-x86_64/swt

( ) ddms scripts,
  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" "$@"

좋은 웹페이지 즐겨찾기