While developing android app using android studio, I got this error:
1 |
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 |
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 :
[SOLUTION : Downgrade /platform-tools folder]
- Download this arch. : https://dl-ssl.google.com/android/repository/platform-tools_r23.0.1-linux.zip
- Go to your Android SDK folder
- Remove old /platform-tools
- Insert downloaded from link above