Qt Android: Incompatible device message when adding the Fairphone [SOLVED]
-
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?
-
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.
-
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