The APK File Does Not Exist on Disk

The APK file does not exist on disk

Click this option to solve the error:

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

The .apk file does not exist on disk but it does

Check your path to your apk. Might there be some special characters in folder names. This also cause the adb to through this error.

apk does not exist on disk with a new Project

First:

Go to Run -> Edit Configurations...

Make sure you have a "Gradle-aware Make" on the Before launch section:

To add it click the + sign and select Gradle-aware Make and a popup will appear, just leave the text field empty and click OK and OK.

Sample Image

Second:

Sample Image

Third:

Make sure that you don't have apostrophe or & in your path

Fourthly:

Deleting the folder .AndroidStudio[version] and losing all your preferences and caches...

Fifth:

Build ---> Build APK(s)

Sixthly:

File -> Settings -> Build, Execution, Deployment -> Instant Run -> Uncheck checkbox there

UPDATE:

 1.Open the projects gradle.properties file in android studio 

2.Added this line at end of file org.gradle.jvmargs=-Xmx1024m or org.gradle.jvmargs=-Xmx512m & Save the file

3.Close & reopen the project

EmptyThrowable: The APK file *.apk does not exist on disk

In my case the problem was that the name of the apk to be installed was cached, so everytime I tried running the app, an apk with today's date was generated but when installing, Android Studio looked for an apk file with an old name. The solution was to click Sync Gradle and then Build > Rebuild Project. You may also want to delete folders app/apks and app//build/outputs/apk previously.

app-debug.apk does not exist on disk. Error while Installing APK

I managed to solve these simple steps:

1 - I went to the android studio on Build -> Clean Project
      After waiting for it to end.
2 - I'm back on Build -> Rebuild Project

3 - I resynchronized with Gradle.

With these simple steps I managed to solve !!!

The APK file does not exist on disk

Click this option to solve the error:

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

Error while Installing APK app-debug.apk does not exist on disk

I do get the same problem as yours but I solved it by transferring the project file to a thumb drive. Any drive but not C drive.
It can install the apk in my phone. Hope it works.

APK File doesn't exist

Build it in a release mode to get your apk file ...



Related Topics



Leave a reply



Submit