Error launching app and "Run As" menu with no options

Asked

Viewed 53 times

1

I have an application, the code has no error, but I do not see the option to select the emulator, see the image, I’m having this message:

The Selection cannot be launched, and there are no recent launches

How to properly configure?

inserir a descrição da imagem aqui

  • It’s not an answer, but I highly recommend using Android Studio to develop, is maintained by Google, constant update and support, features for development like screen design and etc... I believe that today very few people still use Eclipse or Intelij (which is the basis for Android Studio) for Android development.

1 answer

2

There are two reasons for not appearing any option to launch the application:

  • The first, in the zone "Launch history", because the application was never executed.
  • The second, on the menu "Run as", because no project is selected in the list on the left side. This is also the reason for the error.

Select the project folder and menu options "Run as" will appear.
Or right-click the project folder and choose there "Run as".

You can also use the option "Run Configurations..." to create a configuration and, after creating it, run the application.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.