Troubleshooting: Adb Output Shows Version Conflict¶
Upon running adb devices
, an error message describing a version conflict may appear.
Example Output
1 2 3 4 5 6 7 8 9 10 | $ adb devices List of devices attached adb server version (39) doesn't match this client (36); killing... * daemon started successfully * ce12160c71c73f1c01 device 014E1E291901D009 device 01e4b6ba73c21364 device 063d270a13ca827e device 031603e1ec431402 device |
Solutions¶
The version conflict occurs because the PATH environment variable points to a different version of android sdk. It is advised to use the version that is provided with intaQt, which can be installed either from the QiTASC Cockpit GUI.
By default android sdk is installed in intaqt/installer/android-sdk-<OS>
:
-
If starting intaQt from the Cockpit, it will temporarily set the
ANDROID_HOME
variable. -
If starting intaQt from the command line, the
ANDROID_HOME
variable pointing to the android sdk needs to be added to the OS Environment Variables.
It is also recommended to add the android sdk location to the PATH variable in order to use adb
from the command line.
More information about setting path variables and installing intaQt is available in the intaQt Installation and Maintenance Chapter.