Add application launch shortcut in Eclipse?

后端 未结 8 2016
执念已碎
执念已碎 2021-02-05 09:46

I\'ve been programming Android in Eclipse for about a year now and I have always launched my app by right clicking on my project name in the project explorer, followed by \"run

8条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-05 10:15

    I am not sure why the last answer is voted down, as I think it is the best answer. In the standard ADT Eclipse tool bar, there is the following button: enter image description here

    If you are editing a Java file, and press this button, your app will automatically be launched. Thus, this is one the one button press to launch your app.

    As with the other shortcuts mentioned here, this does not work if you are editing an XML file (so ensure your editor is showing a Java file).

提交回复
热议问题