Cannot start application projects on Android Studio

I am new to Android Studio and I installed it on Ubuntu 14.04 LTS (64 bit).

When I open a project in Android Studio, I get the project files marked in red, and the debug configuration button next to the start button is marked in red X, as shown in the figure below:

enter image description here

Please tell me how to solve this problem.

+6
source share
2 answers

One simple way:

  • Close the current project to return to the welcome screen.
  • Select Import Project (Eclipse ADT, Gradle, etc.) on the welcome screen.
  • Select the Eclipse ADT project to import.

Android Studio Welcome Screen

+5
source

The best way to solve this problem: Clean and then rebuild your project. make your project ... it should still work, check your dependencies in gradle.

At the very end, you can try to invalidate the cache and restart (recommended)

The problem should be resolved by now.

+2
source

All Articles