ADB Android Studio Ubuntu ERROR : Unable to detect adb version, adb output: /home/hamid/Android/Sdk/platform-tools/How do I set up Android ADB?No linux section in sdk add-onsGetting ADB to runUbuntu is not recognizing android phone“adb devices” command won't detect my 4.4 Android phoneAndroid SDK tools in Ubuntu doesn't read Nexus 7 in recovery mode (Possible udev rules issue)installing android tools adb - keep getting errorAndroid sdk on Ubuntu 32bitCan someone tell me how to purge android fastboot and adb, and install the latest version?GT-I9506 / Fastboot

If the Dominion rule using their Jem'Hadar troops, why is their life expectancy so low?

Can a Knock spell open the door to Mordenkainen's Magnificent Mansion?

Travelling in US for more than 90 days

Make a Bowl of Alphabet Soup

Reasons for having MCU pin-states default to pull-up/down out of reset

Is there a distance limit for minecart tracks?

Why is "la Gestapo" feminine?

Can you take a "free object interaction" while incapacitated?

Should a narrator ever describe things based on a character's view instead of facts?

What is the purpose of using a decision tree?

Put the phone down / Put down the phone

Do native speakers use "ultima" and "proxima" frequently in spoken English?

Taking the numerator and the denominator

Why didn’t Eve recognize the little cockroach as a living organism?

Calculate Pi using Monte Carlo

Does capillary rise violate hydrostatic paradox?

Mortal danger in mid-grade literature

Output visual diagram of picture

How are passwords stolen from companies if they only store hashes?

Control width of columns in a tabular environment

C++ lambda syntax

Exposing a company lying about themselves in a tightly knit industry (videogames) : Is my career at risk on the long run?

Can creatures abilities target that creature itself?

Connection Between Knot Theory and Number Theory



ADB Android Studio Ubuntu ERROR : Unable to detect adb version, adb output: /home/hamid/Android/Sdk/platform-tools/


How do I set up Android ADB?No linux section in sdk add-onsGetting ADB to runUbuntu is not recognizing android phone“adb devices” command won't detect my 4.4 Android phoneAndroid SDK tools in Ubuntu doesn't read Nexus 7 in recovery mode (Possible udev rules issue)installing android tools adb - keep getting errorAndroid sdk on Ubuntu 32bitCan someone tell me how to purge android fastboot and adb, and install the latest version?GT-I9506 / Fastboot













11















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










share|improve this question






















  • Any one can help plz

    – Hamid Mustafa
    Dec 29 '15 at 16:33






  • 1





    When does this error occur? What did you do? How did you install it? What have you tried to fix it?

    – Trevor Clarke
    Dec 29 '15 at 23:26















11















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










share|improve this question






















  • Any one can help plz

    – Hamid Mustafa
    Dec 29 '15 at 16:33






  • 1





    When does this error occur? What did you do? How did you install it? What have you tried to fix it?

    – Trevor Clarke
    Dec 29 '15 at 23:26













11












11








11


3






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










share|improve this question














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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 29 '15 at 16:31









Hamid MustafaHamid Mustafa

61114




61114












  • Any one can help plz

    – Hamid Mustafa
    Dec 29 '15 at 16:33






  • 1





    When does this error occur? What did you do? How did you install it? What have you tried to fix it?

    – Trevor Clarke
    Dec 29 '15 at 23:26

















  • Any one can help plz

    – Hamid Mustafa
    Dec 29 '15 at 16:33






  • 1





    When does this error occur? What did you do? How did you install it? What have you tried to fix it?

    – Trevor Clarke
    Dec 29 '15 at 23:26
















Any one can help plz

– Hamid Mustafa
Dec 29 '15 at 16:33





Any one can help plz

– Hamid Mustafa
Dec 29 '15 at 16:33




1




1





When does this error occur? What did you do? How did you install it? What have you tried to fix it?

– Trevor Clarke
Dec 29 '15 at 23:26





When does this error occur? What did you do? How did you install it? What have you tried to fix it?

– Trevor Clarke
Dec 29 '15 at 23:26










3 Answers
3






active

oldest

votes


















29














Ubuntu 14.04.3 LTS



Got same error after update Android Studio and then Android SDK.



[SOLUTION : Downgrade /platform-tools folder]



  1. Download this arch. : https://dl-ssl.google.com/android/repository/platform-tools_r23.0.1-linux.zip

  2. Go to your Android SDK folder

  3. Remove old /platform-tools

  4. Insert downloaded from link above

Hope this help you.



[UPDATED]



Forgot specify that Ubuntu is 32 bit






share|improve this answer

























  • Thanks buddy, it gone like flash! Thank you so much ..!! I solved my problem

    – Hamid Mustafa
    Dec 30 '15 at 4:36











  • This solved my problem too, on Linux Mint 17.1 32-bit

    – cctan
    Dec 31 '15 at 17:05












  • Thanks Elia, this worked on my 32bit Ubuntu 15.10, however when Android Studio updated the component it reverted to the 64bit version so no more updating of this component for me!.

    – Ian S Williams
    Feb 27 '16 at 4:08






  • 2





    Android Studio wanted an update which put the same bug back in. To fix, instead of replacing entire /platform-tools, instead, I just extracted adb by itself and that worked!

    – jim
    Sep 9 '16 at 19:49












  • Excellent advice. Also solves the problem on Ubuntu 16.04 on a 32-bit machine.

    – SANBI samples
    Nov 20 '16 at 11:06


















2














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






share|improve this answer
































    0














    i have same issue on windows 7 x64 .. i also installed genymotion. but none of emulators showing in target deployment dialogue. any idea for windows ?






    share|improve this answer








    New contributor




    Ubaid is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.



















      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "89"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f714653%2fadb-android-studio-ubuntu-error-unable-to-detect-adb-version-adb-output-hom%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      29














      Ubuntu 14.04.3 LTS



      Got same error after update Android Studio and then Android SDK.



      [SOLUTION : Downgrade /platform-tools folder]



      1. Download this arch. : https://dl-ssl.google.com/android/repository/platform-tools_r23.0.1-linux.zip

      2. Go to your Android SDK folder

      3. Remove old /platform-tools

      4. Insert downloaded from link above

      Hope this help you.



      [UPDATED]



      Forgot specify that Ubuntu is 32 bit






      share|improve this answer

























      • Thanks buddy, it gone like flash! Thank you so much ..!! I solved my problem

        – Hamid Mustafa
        Dec 30 '15 at 4:36











      • This solved my problem too, on Linux Mint 17.1 32-bit

        – cctan
        Dec 31 '15 at 17:05












      • Thanks Elia, this worked on my 32bit Ubuntu 15.10, however when Android Studio updated the component it reverted to the 64bit version so no more updating of this component for me!.

        – Ian S Williams
        Feb 27 '16 at 4:08






      • 2





        Android Studio wanted an update which put the same bug back in. To fix, instead of replacing entire /platform-tools, instead, I just extracted adb by itself and that worked!

        – jim
        Sep 9 '16 at 19:49












      • Excellent advice. Also solves the problem on Ubuntu 16.04 on a 32-bit machine.

        – SANBI samples
        Nov 20 '16 at 11:06















      29














      Ubuntu 14.04.3 LTS



      Got same error after update Android Studio and then Android SDK.



      [SOLUTION : Downgrade /platform-tools folder]



      1. Download this arch. : https://dl-ssl.google.com/android/repository/platform-tools_r23.0.1-linux.zip

      2. Go to your Android SDK folder

      3. Remove old /platform-tools

      4. Insert downloaded from link above

      Hope this help you.



      [UPDATED]



      Forgot specify that Ubuntu is 32 bit






      share|improve this answer

























      • Thanks buddy, it gone like flash! Thank you so much ..!! I solved my problem

        – Hamid Mustafa
        Dec 30 '15 at 4:36











      • This solved my problem too, on Linux Mint 17.1 32-bit

        – cctan
        Dec 31 '15 at 17:05












      • Thanks Elia, this worked on my 32bit Ubuntu 15.10, however when Android Studio updated the component it reverted to the 64bit version so no more updating of this component for me!.

        – Ian S Williams
        Feb 27 '16 at 4:08






      • 2





        Android Studio wanted an update which put the same bug back in. To fix, instead of replacing entire /platform-tools, instead, I just extracted adb by itself and that worked!

        – jim
        Sep 9 '16 at 19:49












      • Excellent advice. Also solves the problem on Ubuntu 16.04 on a 32-bit machine.

        – SANBI samples
        Nov 20 '16 at 11:06













      29












      29








      29







      Ubuntu 14.04.3 LTS



      Got same error after update Android Studio and then Android SDK.



      [SOLUTION : Downgrade /platform-tools folder]



      1. Download this arch. : https://dl-ssl.google.com/android/repository/platform-tools_r23.0.1-linux.zip

      2. Go to your Android SDK folder

      3. Remove old /platform-tools

      4. Insert downloaded from link above

      Hope this help you.



      [UPDATED]



      Forgot specify that Ubuntu is 32 bit






      share|improve this answer















      Ubuntu 14.04.3 LTS



      Got same error after update Android Studio and then Android SDK.



      [SOLUTION : Downgrade /platform-tools folder]



      1. Download this arch. : https://dl-ssl.google.com/android/repository/platform-tools_r23.0.1-linux.zip

      2. Go to your Android SDK folder

      3. Remove old /platform-tools

      4. Insert downloaded from link above

      Hope this help you.



      [UPDATED]



      Forgot specify that Ubuntu is 32 bit







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited Dec 29 '15 at 23:16

























      answered Dec 29 '15 at 22:18









      Ilya RazuvaevIlya Razuvaev

      39138




      39138












      • Thanks buddy, it gone like flash! Thank you so much ..!! I solved my problem

        – Hamid Mustafa
        Dec 30 '15 at 4:36











      • This solved my problem too, on Linux Mint 17.1 32-bit

        – cctan
        Dec 31 '15 at 17:05












      • Thanks Elia, this worked on my 32bit Ubuntu 15.10, however when Android Studio updated the component it reverted to the 64bit version so no more updating of this component for me!.

        – Ian S Williams
        Feb 27 '16 at 4:08






      • 2





        Android Studio wanted an update which put the same bug back in. To fix, instead of replacing entire /platform-tools, instead, I just extracted adb by itself and that worked!

        – jim
        Sep 9 '16 at 19:49












      • Excellent advice. Also solves the problem on Ubuntu 16.04 on a 32-bit machine.

        – SANBI samples
        Nov 20 '16 at 11:06

















      • Thanks buddy, it gone like flash! Thank you so much ..!! I solved my problem

        – Hamid Mustafa
        Dec 30 '15 at 4:36











      • This solved my problem too, on Linux Mint 17.1 32-bit

        – cctan
        Dec 31 '15 at 17:05












      • Thanks Elia, this worked on my 32bit Ubuntu 15.10, however when Android Studio updated the component it reverted to the 64bit version so no more updating of this component for me!.

        – Ian S Williams
        Feb 27 '16 at 4:08






      • 2





        Android Studio wanted an update which put the same bug back in. To fix, instead of replacing entire /platform-tools, instead, I just extracted adb by itself and that worked!

        – jim
        Sep 9 '16 at 19:49












      • Excellent advice. Also solves the problem on Ubuntu 16.04 on a 32-bit machine.

        – SANBI samples
        Nov 20 '16 at 11:06
















      Thanks buddy, it gone like flash! Thank you so much ..!! I solved my problem

      – Hamid Mustafa
      Dec 30 '15 at 4:36





      Thanks buddy, it gone like flash! Thank you so much ..!! I solved my problem

      – Hamid Mustafa
      Dec 30 '15 at 4:36













      This solved my problem too, on Linux Mint 17.1 32-bit

      – cctan
      Dec 31 '15 at 17:05






      This solved my problem too, on Linux Mint 17.1 32-bit

      – cctan
      Dec 31 '15 at 17:05














      Thanks Elia, this worked on my 32bit Ubuntu 15.10, however when Android Studio updated the component it reverted to the 64bit version so no more updating of this component for me!.

      – Ian S Williams
      Feb 27 '16 at 4:08





      Thanks Elia, this worked on my 32bit Ubuntu 15.10, however when Android Studio updated the component it reverted to the 64bit version so no more updating of this component for me!.

      – Ian S Williams
      Feb 27 '16 at 4:08




      2




      2





      Android Studio wanted an update which put the same bug back in. To fix, instead of replacing entire /platform-tools, instead, I just extracted adb by itself and that worked!

      – jim
      Sep 9 '16 at 19:49






      Android Studio wanted an update which put the same bug back in. To fix, instead of replacing entire /platform-tools, instead, I just extracted adb by itself and that worked!

      – jim
      Sep 9 '16 at 19:49














      Excellent advice. Also solves the problem on Ubuntu 16.04 on a 32-bit machine.

      – SANBI samples
      Nov 20 '16 at 11:06





      Excellent advice. Also solves the problem on Ubuntu 16.04 on a 32-bit machine.

      – SANBI samples
      Nov 20 '16 at 11:06













      2














      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






      share|improve this answer





























        2














        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






        share|improve this answer



























          2












          2








          2







          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






          share|improve this answer















          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







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jan 4 '16 at 14:05

























          answered Jan 4 '16 at 13:50









          EricEric

          212




          212





















              0














              i have same issue on windows 7 x64 .. i also installed genymotion. but none of emulators showing in target deployment dialogue. any idea for windows ?






              share|improve this answer








              New contributor




              Ubaid is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.
























                0














                i have same issue on windows 7 x64 .. i also installed genymotion. but none of emulators showing in target deployment dialogue. any idea for windows ?






                share|improve this answer








                New contributor




                Ubaid is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






















                  0












                  0








                  0







                  i have same issue on windows 7 x64 .. i also installed genymotion. but none of emulators showing in target deployment dialogue. any idea for windows ?






                  share|improve this answer








                  New contributor




                  Ubaid is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.










                  i have same issue on windows 7 x64 .. i also installed genymotion. but none of emulators showing in target deployment dialogue. any idea for windows ?







                  share|improve this answer








                  New contributor




                  Ubaid is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  share|improve this answer



                  share|improve this answer






                  New contributor




                  Ubaid is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  answered 20 mins ago









                  UbaidUbaid

                  1




                  1




                  New contributor




                  Ubaid is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.





                  New contributor





                  Ubaid is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.






                  Ubaid is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.



























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f714653%2fadb-android-studio-ubuntu-error-unable-to-detect-adb-version-adb-output-hom%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Are there any comparative studies done between Ashtavakra Gita and Buddhim?How is it wrong to believe that a self exists, or that it doesn't?Can you criticise or improve Ven. Bodhi's description of MahayanaWas the doctrine of 'Anatta', accepted as doctrine by modern Buddhism, actually taught by the Buddha?Relationship between Buddhism, Hinduism and Yoga?Comparison of Nirvana, Tao and Brahman/AtmaIs there a distinction between “ego identity” and “craving/hating”?Are there many differences between Taoism and Buddhism?Loss of “faith” in buddhismSimilarity between creation in Abrahamic religions and beginning of life in Earth mentioned Agganna Sutta?Are there studies about the difference between meditating in the morning versus in the evening?Can one follow Hinduism and Buddhism at the same time?Are there any prohibitions on participating in other religion's practices?Psychology of 'flow'

                      fallocate: fallocate failed: Text file busy in Ubuntu 17.04? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)defragmenting and increasing performance of old lubuntu system with swap partitionIssue with increasing the root partition from the swapthis /usr/bin/dpkg returned error || ubuntu-16.04, 64bitDefault 17.04 swap file locationHow to Resize Ubuntu 17.04 Zesty Swap file size?Ubuntu freezes from online formsMy Laptop is not starting after upgrade ubuntu 16.04 (Kernel 4.8.0-38 to 04.10.0-36)hcp: ERROR: FALLOCATE FAILED!Not sure my swap is being usedWine 3.0 asking for more virtual free swap

                      Where is the suspend/hibernate button in GNOME Shell? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)No suspend option in UI on Bionic BeaverHow can I set sleep mode in ubuntu18.04 LTS and what is the short cut key to do so?17.10 suspend not availableUbuntu 18.04 LTS missing sleep optionUbuntu 18.04 LTS - missing suspend option when power button is pressedHow to put Thinkpad X1 Extreme to sleep in Ubuntu 18.10?Suspend Button in interactive power button menu18.04 - Keep programs running after logging outway to disable Hibernate from within gconf-editor so button disappears?How can I hibernate from GNOME Shell?How can I hibernate/suspend from the command line and do so at a specific timeNo permission to suspend/hibernate after upgrading to 12.10MATE - Missing Suspend and Hibernate buttons, pressing power button shutdowns system immediatelyUbuntu 14.04: Suspend, Hibernate and Suspend-hybrid in the menu?Change “power-button-action” comand for “hibernate” option in GNOME 3.18Shutdown / Power off button does always go to suspend on 17.10Hibernate after suspend stopped working in 17.10Why doesn't the keyboard screenshot button work on Ubuntu with GNOME shell?