ADB in Android Studio (Ubuntu) ERROR : Unable to detect adb version, adb output: /home/hamid/Android/Sdk/platform-tools/adb: 1: /home/hamid/Android/Sdk/platform-tools/adb: Syntax error: ")" unexpected
ADB in Android Studio (Ubuntu) ERROR : Unable to detect adb version, adb output: /home/hamid/Android/Sdk/platform-tools/adb: 1: /home/hamid/Android/Sdk/platform-tools/adb: Syntax error: ")" unexpected
Ubuntu 14.04.3 LTS
Got same error after update Android Studio and then Android SDK.
[SOLUTION : Downgrade /platform-tools folder]
Hope this help you.
[UPDATED]
Forgot specify that Ubuntu is 32 bit
This happened only for 32 bits linux platform.
The Android SDK Platform-tools Rev. 23.1.0 doesn't support 32 bits.
Some explanations are given (and asked) here :
https://code.google.com/p/android/issues/detail?can=2&start=0&num=100&q=ubuntu&colspec=ID%20Status%20Priority%20Owner%20Summary%20Stars%20Reporter%20Opened&groupby=&sort=-id&id=196866
Greatings,
Eric