Can't run app with Instant Run on Android Studio 3.0

Hadas Kaminsky picture Hadas Kaminsky · Nov 13, 2017 · Viewed 7.8k times · Source

I've updated to Android Studio 3.0 and now I cannot run the app with Instant Run enabled.

I get 'Execution failed for task' due to a java.io.FileNotFoundException because it can't find the apk under

../build/intermediates/instant-run-resources/resources-production/

Any idea how to overcome this so that I can run the project with Instant Run?

I'm not sure where to find the missing apk file or how to change the path to look for it in.

Answer

Dhruv picture Dhruv · Nov 14, 2017

Have your settings as below,

enter image description here

Otherwise try to clean and re-install (after uninstalling exsisting apk) application.