Make a project before launching the Android studio application

Usually, when I run Run> Run or Run> Debug in Android Studio, it makes a project and detects errors and recompiles the application, but now when I click "Run" or "Debug", I launch the application directly without compilation changes and nothing, if I enter the Run configuration, I have "Before launch: Make"

If I do the Build> Make project it works correctly, but I don’t want to complete the Build> Make project and Run> Run all the time.

I am using Android Studio 0.3.4.

+7
android-studio makefile launch
source share
2 answers

I also have this problem, and that helped to completely reinstall Android studio. So I just downloaded the latest version .

  • Make sure Android Studio does not start!
  • create a backup copy of the "sdk" folder (you will find it in the Android Studio folder)
  • Delete Android Studio folder
  • Unzip the downloaded zip code into the same folder
  • copy the backup "sdk" back to the folder
  • Launch Android Studio

You will see that your settings still exist, your recent project will open normally, and you can simply "start" your project again when the "make" is completed correctly.

Edit: I suspect that the main reason for this problem was an unsuccessful update with an error from 0.36 to 0.3.5 and restoring the backup I created will create even more problems ...

Edit 2: Since this is just a temporary fix (see my comment below), I made a ticket to bugtracker.

+1
source share

Open the Run / Debug Configurations dialog box (select Run -> Edit Configurations from the main menu).

Now select the launch configuration that you are using. On the right side you will see various parameters for the selected launch configuration, find the Before Startup section (it should be near the bottom).

A Make entry has been added to the list. If there is no , enter the entry in the list by adding it with the green + symbol.

0
source share

All Articles