ADB Android Studio Ubuntu ERROR : Unable to detect adb version, adb output:...





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







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











  • 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 ?

    – Ubaid
    Mar 19 at 22:30


















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











  • 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 ?

    – Ubaid
    Mar 19 at 22:30














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











  • 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 ?

    – Ubaid
    Mar 19 at 22:30



















  • 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











  • 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 ?

    – Ubaid
    Mar 19 at 22:30

















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













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 ?

– Ubaid
Mar 19 at 22:30





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 ?

– Ubaid
Mar 19 at 22:30










2 Answers
2






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


























    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

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    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






























            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

            How to change which sound is reproduced for terminal bell?

            Can I use Tabulator js library in my java Spring + Thymeleaf project?

            Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents