Android Studio - unable to disable instant start

I have a LibGDX project, which consists of a main project and several Android / desktop projects that depend on it.

I am currently modifying the code in the main project, but when creating, cleaning and starting manually, the changes are not reflected when the project starts.

From my search, I feel that the problem is related to Instant Run , but I cannot turn it off because the checkboxes are grayed out.

enter image description here

Is my problem related to Instant Run? And how can I turn it off?

+5
source share
2 answers

Make sure you change the Instant Run setting in a specific project. I mean what you need to do:

1) Open a specific project

2) Right-click the file

3) select settings

4) Build

5) Instant start

For me his job

0
source

In a new installation of Android Studio 3.0.1, I found that I could not create the project because of Instant Run and that Enable Instant Run was turned on and greyed so that it could not be turned off.

Build Error:

Error:Failed to notify project evaluation listener. 

I found that running builds from the command line fixed both the inability to build and the inability to disable Instant Run.

 ./gradlew assembleDebug 
0
source

All Articles