Running Android studio on Ubuntu Announcing the arrival of Valued Associate #679: Cesar...

Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?

What causes the direction of lightning flashes?

How do pianists reach extremely loud dynamics?

How do I stop a creek from eroding my steep embankment?

Using et al. for a last / senior author rather than for a first author

Withdrew £2800, but only £2000 shows as withdrawn on online banking; what are my obligations?

How to answer "Have you ever been terminated?"

Is it a good idea to use CNN to classify 1D signal?

How come Sam didn't become Lord of Horn Hill?

Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?

Is there a kind of relay only consumes power when switching?

Do I really need recursive chmod to restrict access to a folder?

Irreducible of finite Krull dimension implies quasi-compact?

Why are there no cargo aircraft with "flying wing" design?

How does the math work when buying airline miles?

When was Kai Tak permanently closed to cargo service?

Is it common practice to audition new musicians one-on-one before rehearsing with the entire band?

What would be the ideal power source for a cybernetic eye?

Maximum summed powersets with non-adjacent items

Trademark violation for app?

How to react to hostile behavior from a senior developer?

Can melee weapons be used to deliver Contact Poisons?

How to compare two different files line by line in unix?

Uniqueness of spanning tree on a grid.



Running Android studio on Ubuntu



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Android SDK Manager and Android Studio disagree about the SDK path… What do I do?Windows freeze when running Android emulator from Android Studio 2.3How to download Android SDK using sdkmanager (Linux)Run meteor.js apps in android studio inside ubuntu in virtualboxHow to setup Android Studio on MacosWhy is Android Emulator of Android Studio not running on my machine?Android Studio gives error can't run the appMoving Android studio to a new PCInstallation of Android StudioRunning Android Studio emulator on Ryzen?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I am newbie to Ubuntu. I have Android Studio for Ubuntu and Android-SDK with me. When I run



./studio.sh


from andriod-studio/bin, it shows an error as "command not found".Then how should I run (open the IDE) from Ubuntu? I am using Ubuntu 14.4LTS.










share|improve this question

























  • Hi there, welcome to Superuser! Could you add some more information about where your install is located, and perhaps an ls of the directory? As it stands, your question is really hard to answer and is likely to be downvoted and/or closed.

    – Mikey T.K.
    Mar 1 '16 at 17:00


















0















I am newbie to Ubuntu. I have Android Studio for Ubuntu and Android-SDK with me. When I run



./studio.sh


from andriod-studio/bin, it shows an error as "command not found".Then how should I run (open the IDE) from Ubuntu? I am using Ubuntu 14.4LTS.










share|improve this question

























  • Hi there, welcome to Superuser! Could you add some more information about where your install is located, and perhaps an ls of the directory? As it stands, your question is really hard to answer and is likely to be downvoted and/or closed.

    – Mikey T.K.
    Mar 1 '16 at 17:00














0












0








0








I am newbie to Ubuntu. I have Android Studio for Ubuntu and Android-SDK with me. When I run



./studio.sh


from andriod-studio/bin, it shows an error as "command not found".Then how should I run (open the IDE) from Ubuntu? I am using Ubuntu 14.4LTS.










share|improve this question
















I am newbie to Ubuntu. I have Android Studio for Ubuntu and Android-SDK with me. When I run



./studio.sh


from andriod-studio/bin, it shows an error as "command not found".Then how should I run (open the IDE) from Ubuntu? I am using Ubuntu 14.4LTS.







ubuntu ubuntu-14.04 android-studio






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 1 at 0:33









fixer1234

19.6k145083




19.6k145083










asked Mar 1 '16 at 13:11









user565418user565418

1




1













  • Hi there, welcome to Superuser! Could you add some more information about where your install is located, and perhaps an ls of the directory? As it stands, your question is really hard to answer and is likely to be downvoted and/or closed.

    – Mikey T.K.
    Mar 1 '16 at 17:00



















  • Hi there, welcome to Superuser! Could you add some more information about where your install is located, and perhaps an ls of the directory? As it stands, your question is really hard to answer and is likely to be downvoted and/or closed.

    – Mikey T.K.
    Mar 1 '16 at 17:00

















Hi there, welcome to Superuser! Could you add some more information about where your install is located, and perhaps an ls of the directory? As it stands, your question is really hard to answer and is likely to be downvoted and/or closed.

– Mikey T.K.
Mar 1 '16 at 17:00





Hi there, welcome to Superuser! Could you add some more information about where your install is located, and perhaps an ls of the directory? As it stands, your question is really hard to answer and is likely to be downvoted and/or closed.

– Mikey T.K.
Mar 1 '16 at 17:00










1 Answer
1






active

oldest

votes


















0














it looks like the file studio.sh is either not in your current directory.
, its not set to be executable so cannot be found as a command or one of the commands with in it cannot be found.



You can check by running 'ls -l studio.sh' , then if that says
No such file or directory then you are in the wrong directory,
use 'cd directory' to change to a directory called directory.



if you get something like this then it exists but isn't executable
-rw-r--r-- 1 user group 9172 Mar 26 2014 studio.sh



to make it executable run 'chown u+x studio.sh' and then try the ls
command again (press up to go back through history) and if its worked you should see -rwx-r--r-- .



It should then be runnable as ./studio.sh if you are in the same directory as it.



One possible issue is that one of the commands inside the studio.sh (which is a list of shell commands) cannot be found , if this is the case your studio.sh probably already has the x set and your installation is not correct.



you can diagnose this by running studio.sh in debug mode which can be done by doing 'bash -x ./studio.sh' , this will give much more info about what is happening and should show you what is missing. You could also try bash -e to make it stop exactly at the erroring command.






share|improve this answer
























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    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%2fsuperuser.com%2fquestions%2f1047235%2frunning-android-studio-on-ubuntu%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    it looks like the file studio.sh is either not in your current directory.
    , its not set to be executable so cannot be found as a command or one of the commands with in it cannot be found.



    You can check by running 'ls -l studio.sh' , then if that says
    No such file or directory then you are in the wrong directory,
    use 'cd directory' to change to a directory called directory.



    if you get something like this then it exists but isn't executable
    -rw-r--r-- 1 user group 9172 Mar 26 2014 studio.sh



    to make it executable run 'chown u+x studio.sh' and then try the ls
    command again (press up to go back through history) and if its worked you should see -rwx-r--r-- .



    It should then be runnable as ./studio.sh if you are in the same directory as it.



    One possible issue is that one of the commands inside the studio.sh (which is a list of shell commands) cannot be found , if this is the case your studio.sh probably already has the x set and your installation is not correct.



    you can diagnose this by running studio.sh in debug mode which can be done by doing 'bash -x ./studio.sh' , this will give much more info about what is happening and should show you what is missing. You could also try bash -e to make it stop exactly at the erroring command.






    share|improve this answer




























      0














      it looks like the file studio.sh is either not in your current directory.
      , its not set to be executable so cannot be found as a command or one of the commands with in it cannot be found.



      You can check by running 'ls -l studio.sh' , then if that says
      No such file or directory then you are in the wrong directory,
      use 'cd directory' to change to a directory called directory.



      if you get something like this then it exists but isn't executable
      -rw-r--r-- 1 user group 9172 Mar 26 2014 studio.sh



      to make it executable run 'chown u+x studio.sh' and then try the ls
      command again (press up to go back through history) and if its worked you should see -rwx-r--r-- .



      It should then be runnable as ./studio.sh if you are in the same directory as it.



      One possible issue is that one of the commands inside the studio.sh (which is a list of shell commands) cannot be found , if this is the case your studio.sh probably already has the x set and your installation is not correct.



      you can diagnose this by running studio.sh in debug mode which can be done by doing 'bash -x ./studio.sh' , this will give much more info about what is happening and should show you what is missing. You could also try bash -e to make it stop exactly at the erroring command.






      share|improve this answer


























        0












        0








        0







        it looks like the file studio.sh is either not in your current directory.
        , its not set to be executable so cannot be found as a command or one of the commands with in it cannot be found.



        You can check by running 'ls -l studio.sh' , then if that says
        No such file or directory then you are in the wrong directory,
        use 'cd directory' to change to a directory called directory.



        if you get something like this then it exists but isn't executable
        -rw-r--r-- 1 user group 9172 Mar 26 2014 studio.sh



        to make it executable run 'chown u+x studio.sh' and then try the ls
        command again (press up to go back through history) and if its worked you should see -rwx-r--r-- .



        It should then be runnable as ./studio.sh if you are in the same directory as it.



        One possible issue is that one of the commands inside the studio.sh (which is a list of shell commands) cannot be found , if this is the case your studio.sh probably already has the x set and your installation is not correct.



        you can diagnose this by running studio.sh in debug mode which can be done by doing 'bash -x ./studio.sh' , this will give much more info about what is happening and should show you what is missing. You could also try bash -e to make it stop exactly at the erroring command.






        share|improve this answer













        it looks like the file studio.sh is either not in your current directory.
        , its not set to be executable so cannot be found as a command or one of the commands with in it cannot be found.



        You can check by running 'ls -l studio.sh' , then if that says
        No such file or directory then you are in the wrong directory,
        use 'cd directory' to change to a directory called directory.



        if you get something like this then it exists but isn't executable
        -rw-r--r-- 1 user group 9172 Mar 26 2014 studio.sh



        to make it executable run 'chown u+x studio.sh' and then try the ls
        command again (press up to go back through history) and if its worked you should see -rwx-r--r-- .



        It should then be runnable as ./studio.sh if you are in the same directory as it.



        One possible issue is that one of the commands inside the studio.sh (which is a list of shell commands) cannot be found , if this is the case your studio.sh probably already has the x set and your installation is not correct.



        you can diagnose this by running studio.sh in debug mode which can be done by doing 'bash -x ./studio.sh' , this will give much more info about what is happening and should show you what is missing. You could also try bash -e to make it stop exactly at the erroring command.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 1 '16 at 13:33









        AmiasAmias

        208138




        208138






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • 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%2fsuperuser.com%2fquestions%2f1047235%2frunning-android-studio-on-ubuntu%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

            Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

            VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

            Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...