[Interest] android emulator - qtcreator

Arno arno at disconnect.de
Mon Jul 11 20:09:50 CEST 2016


Hello,

I need to pass -gpu off command line option to the android emulator. How
do I do that from inside qtcreator?

I know about the ini-files for AVD, but unfortunately google hasn't
revealed the proper option to me yet, and the android GUI throws an
exception when I try to start it:
~~
> am at abydos ~ $ android
> Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3550 or swt-pi-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.gtk.OS.<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)
>         at com.android.sdkmanager.Main.showSdkManagerWindow(Main.java:403)
>         at com.android.sdkmanager.Main.doAction(Main.java:391)
>         at com.android.sdkmanager.Main.run(Main.java:151)
>         at com.android.sdkmanager.Main.main(Main.java:117)
~~

It's an archlinux VM with X11Forwarding to another linux box, if that helps.

-- 
Thanks,
Arno



More information about the Interest mailing list