Qt Android: Incompatible device message when adding the Fairphone [SOLVED]
-
wrote on 16 Jan 2014, 15:22 last edited by
Hi
I tried to deploy onto my Fairphone, but when getting the "Select Android device" Window, I got the Message "ABI is incompatible, device supports ABIs: ."
Using a Sony Tablet instead, makes no problem. Also it is possible to copy the SDK to my phone and run it from there.
Phone is in developer Mode.
Host system is Ubuntu 12.04
Any idea what I'm missing?
-
wrote on 16 Jan 2014, 15:38 last edited by
Does the adb tool from the android sdk work with this device? E.g. "adb devices" should show the device. If not that's the place to start looking. (Regular android apps need to be deployable)
-
wrote on 16 Jan 2014, 15:52 last edited by
That is what I got when running ./adb devices:
@
List of devices attached
???????????? no permissions
@I have to point out that I'm new at developing for Android.
-
wrote on 16 Jan 2014, 16:23 last edited by
Looking around on the Internet, I found the following:
http://stackoverflow.com/questions/14460656/android-debug-bridge-adb-device-no-permissionsI did what was recommended there regarding running adb as sudo:
@- sudo ./adb kill-server
- sudo ./adb start-server
- sudo ./adb devices
@
The a device number was printed.
Now I started the Qt Creator again (not from the same shell), and it detects my phone correctly and I could deploy it.
The I restarted Ubuntu. When calling Qt Creator, I got the same problem as before, but then running kill/start again with sudo, I can see the device in Qt Creator.
This is at least a solution I can live with - not the best one so far, but better than nothing -
wrote on 10 Jul 2014, 09:55 last edited by
it worked!