Project selection in Run Configurations on Eclipse is empty

I am new to Android Development. And I have one small problem that I cannot fix. Each time I start the configurations and look at the name of the project, the project selection is empty, and I can not click on it except the "Cancel" button. Then I can not start my project. How to fix it?

+6
source share
4 answers

In Java Vista, select the Run menu and go to Run Configurations

Select an item in the list called “Android Application” and click the “Plus / Add” button.

On the next page, select the Browse button and select the Android application that you want to run.

image description here

enter image description here

0
source

Right-click on your package in Package Explorer, select "Properties" and see if you are using any libraries. Make sure the "Is a library" field is not checked in your project.

+11
source

I had the same problem and found that I did not enter the project name in the Project text box on the first tab.

0
source

In my specific case, I had a Maven project loaded in Eclipse Mars, and when I tried to run a specific main class, the project itself did not appear in the list of projects in the section:

Configurations -> Java Application -> Project -> Overview ...

What I did was just convert the project to Borders ... in the Project Properties:

Main menu → Project → Properties → Project boundaries

As soon as I did this, they just selected Java and the version I needed, and it started working.

0
source

Source: https://habr.com/ru/post/958254/


All Articles