3

My project is made of two modules (app and a library) and since a while(I seem to remeber it happening before the instant run was added) I need to clean the project before each build/run. This is really boring and time consuming beside making the whole instant run thing basically impossible to use.

When building without cleaning what gradle says is that it couldn't find a class(that clearly exists as if it didn't the run wouldn't work after a clean)

Does anyone have a solution for this issue? Might the multidex be involved in this?

I've already read this Android Studio need to rebuild project before each run but, beside being old, it didn't word for me.

UPDATE Logs

Console

Gradle Console

Community
  • 1
  • 1

1 Answers1

1

Instant run in android studio is having problem . I had this problem for a long days back. Disabling the instant run is the only way to clean and run project to avoid class problem. Instant run uses class update process .So If we run apk in some phones, problem occurs So i disabled the instant run. I think instant run development in beta process.

jesu
  • 708
  • 1
  • 8
  • 10