Android – The APK file does not exist on disk

androidandroid-studioapk

When I am trying debug application on Android Studio gives this log output :

The APK file
/Users/MyApplicationName/app/build/outputs/apk/app-debug.apk does not
exist on disk.

I restarted Android Studio, but I can't solve this problem . How can I solve it ?
Thank you

Best Answer

Click this option to solve the error:

Run: View > Tool Windows > Gradle > [project] > Tasks > build > build