Create desktop shortcut for Android Studio to open a specific project












1














How do I create a desktop shortcuts (in Windows) to open a specific project in Android Studio?



The projects are in in C:Users\AndroidStudioProjects but the directory does not contain any file which appear to be associated with Android Studio. (it contains .git, .gradle, .idea, ...)



I'm a bit annoyed by having to open the last project (happens automatically), and then having to use the menu in the IDE to launch another instance with the project I want, as it appears to trigger a resource intensive gradle sync on each of the opened projects.










share|improve this question



























    1














    How do I create a desktop shortcuts (in Windows) to open a specific project in Android Studio?



    The projects are in in C:Users\AndroidStudioProjects but the directory does not contain any file which appear to be associated with Android Studio. (it contains .git, .gradle, .idea, ...)



    I'm a bit annoyed by having to open the last project (happens automatically), and then having to use the menu in the IDE to launch another instance with the project I want, as it appears to trigger a resource intensive gradle sync on each of the opened projects.










    share|improve this question

























      1












      1








      1


      1





      How do I create a desktop shortcuts (in Windows) to open a specific project in Android Studio?



      The projects are in in C:Users\AndroidStudioProjects but the directory does not contain any file which appear to be associated with Android Studio. (it contains .git, .gradle, .idea, ...)



      I'm a bit annoyed by having to open the last project (happens automatically), and then having to use the menu in the IDE to launch another instance with the project I want, as it appears to trigger a resource intensive gradle sync on each of the opened projects.










      share|improve this question













      How do I create a desktop shortcuts (in Windows) to open a specific project in Android Studio?



      The projects are in in C:Users\AndroidStudioProjects but the directory does not contain any file which appear to be associated with Android Studio. (it contains .git, .gradle, .idea, ...)



      I'm a bit annoyed by having to open the last project (happens automatically), and then having to use the menu in the IDE to launch another instance with the project I want, as it appears to trigger a resource intensive gradle sync on each of the opened projects.







      windows android-studio






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 4 '16 at 16:55









      Daniel FDaniel F

      537622




      537622






















          2 Answers
          2






          active

          oldest

          votes


















          0














          Have the same problem, Android Studio opens all the projects opened when I exited!

          Half of an answer is present in uncheck automatic opening when launching AS in AS settings

          So, without automatic project opening, Android Studio is launched with a 'poor' UI, poor startup Android Studio window but providing a recent project selection list on the left part of the window ;-), just click on the desired project, then let's go!



          Using the first part above (uncheck the automatic opening) and in Windows (Win7 for me), create a shortcut targeting the Android Studio application; open the properties of the shortcut then add the path of the .ideaworkspace.xml of your project to the command-line e.g. C:Androidandroid-studiobinstudio64.exe D:2-AndroidminimalistApp.ideaworkspace.xml then close with OK button to validate the changes!



          Now when you (double)click on this shortcut Android Studio will start in 2 steps: minimal UI then your project will be launched.



          Of course, you can create as many different shortcuts as you want to target different project!






          share|improve this answer































            -1














            What I did is that I closed the project every time before exiting. I did that by going to File -> close project.



            Or you can close it normally, and when you open Android Studio the next time, you can press Cancel when the first loading bar pops up.






            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%2f1061292%2fcreate-desktop-shortcut-for-android-studio-to-open-a-specific-project%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









              0














              Have the same problem, Android Studio opens all the projects opened when I exited!

              Half of an answer is present in uncheck automatic opening when launching AS in AS settings

              So, without automatic project opening, Android Studio is launched with a 'poor' UI, poor startup Android Studio window but providing a recent project selection list on the left part of the window ;-), just click on the desired project, then let's go!



              Using the first part above (uncheck the automatic opening) and in Windows (Win7 for me), create a shortcut targeting the Android Studio application; open the properties of the shortcut then add the path of the .ideaworkspace.xml of your project to the command-line e.g. C:Androidandroid-studiobinstudio64.exe D:2-AndroidminimalistApp.ideaworkspace.xml then close with OK button to validate the changes!



              Now when you (double)click on this shortcut Android Studio will start in 2 steps: minimal UI then your project will be launched.



              Of course, you can create as many different shortcuts as you want to target different project!






              share|improve this answer




























                0














                Have the same problem, Android Studio opens all the projects opened when I exited!

                Half of an answer is present in uncheck automatic opening when launching AS in AS settings

                So, without automatic project opening, Android Studio is launched with a 'poor' UI, poor startup Android Studio window but providing a recent project selection list on the left part of the window ;-), just click on the desired project, then let's go!



                Using the first part above (uncheck the automatic opening) and in Windows (Win7 for me), create a shortcut targeting the Android Studio application; open the properties of the shortcut then add the path of the .ideaworkspace.xml of your project to the command-line e.g. C:Androidandroid-studiobinstudio64.exe D:2-AndroidminimalistApp.ideaworkspace.xml then close with OK button to validate the changes!



                Now when you (double)click on this shortcut Android Studio will start in 2 steps: minimal UI then your project will be launched.



                Of course, you can create as many different shortcuts as you want to target different project!






                share|improve this answer


























                  0












                  0








                  0






                  Have the same problem, Android Studio opens all the projects opened when I exited!

                  Half of an answer is present in uncheck automatic opening when launching AS in AS settings

                  So, without automatic project opening, Android Studio is launched with a 'poor' UI, poor startup Android Studio window but providing a recent project selection list on the left part of the window ;-), just click on the desired project, then let's go!



                  Using the first part above (uncheck the automatic opening) and in Windows (Win7 for me), create a shortcut targeting the Android Studio application; open the properties of the shortcut then add the path of the .ideaworkspace.xml of your project to the command-line e.g. C:Androidandroid-studiobinstudio64.exe D:2-AndroidminimalistApp.ideaworkspace.xml then close with OK button to validate the changes!



                  Now when you (double)click on this shortcut Android Studio will start in 2 steps: minimal UI then your project will be launched.



                  Of course, you can create as many different shortcuts as you want to target different project!






                  share|improve this answer














                  Have the same problem, Android Studio opens all the projects opened when I exited!

                  Half of an answer is present in uncheck automatic opening when launching AS in AS settings

                  So, without automatic project opening, Android Studio is launched with a 'poor' UI, poor startup Android Studio window but providing a recent project selection list on the left part of the window ;-), just click on the desired project, then let's go!



                  Using the first part above (uncheck the automatic opening) and in Windows (Win7 for me), create a shortcut targeting the Android Studio application; open the properties of the shortcut then add the path of the .ideaworkspace.xml of your project to the command-line e.g. C:Androidandroid-studiobinstudio64.exe D:2-AndroidminimalistApp.ideaworkspace.xml then close with OK button to validate the changes!



                  Now when you (double)click on this shortcut Android Studio will start in 2 steps: minimal UI then your project will be launched.



                  Of course, you can create as many different shortcuts as you want to target different project!







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited May 23 '17 at 12:41









                  Community

                  1




                  1










                  answered Nov 30 '16 at 11:29









                  g910g910

                  11




                  11

























                      -1














                      What I did is that I closed the project every time before exiting. I did that by going to File -> close project.



                      Or you can close it normally, and when you open Android Studio the next time, you can press Cancel when the first loading bar pops up.






                      share|improve this answer




























                        -1














                        What I did is that I closed the project every time before exiting. I did that by going to File -> close project.



                        Or you can close it normally, and when you open Android Studio the next time, you can press Cancel when the first loading bar pops up.






                        share|improve this answer


























                          -1












                          -1








                          -1






                          What I did is that I closed the project every time before exiting. I did that by going to File -> close project.



                          Or you can close it normally, and when you open Android Studio the next time, you can press Cancel when the first loading bar pops up.






                          share|improve this answer














                          What I did is that I closed the project every time before exiting. I did that by going to File -> close project.



                          Or you can close it normally, and when you open Android Studio the next time, you can press Cancel when the first loading bar pops up.







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Oct 3 '16 at 21:07

























                          answered Oct 3 '16 at 20:53









                          BaselBasel

                          11




                          11






























                              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.





                              Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                              Please pay close attention to the following guidance:


                              • 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%2f1061292%2fcreate-desktop-shortcut-for-android-studio-to-open-a-specific-project%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 make a Squid Proxy server?

                              Is this a new Fibonacci Identity?

                              19世紀