android studio adb Syntax error: ")" unexpected

Rhusfer picture Rhusfer · Dec 11, 2015 · Viewed 18.4k times · Source

this morning when I start doing my daily routine(opening android studio 1.5.1 in my PC - lubuntu 32 bit) I encounter an error after I try to run my application to my device. This is the android studio error:

Error running app: Unable to obtain debug bridge
Unable to detect adb version, adb output: /root/Android/Sdk/platform-tools/adb: 1: /root/Android/Sdk/platform-tools/adb: Syntax error: ")" unexpected

I was looking for possible solution for hours now through internet but can't find same error as this. I already try some other remedies but still no luck of solving it. Can you help me guy? Thanks in advance.

Answer

Arnav M. picture Arnav M. · Dec 11, 2015

for 32bit users... Don't update "platform-tools" to version 23.1.

foremost version you can use is 23.0.1 which you can download here

If you are on 64bit machine and having trouble using the latest version of the plateform-tools.. check instructions here.

thanks for the working link- @Tyler