title: Android Studio: How to change the file path to the .apk file after moving the entire project?
body: <p>When I try to build my Android Studio project, it gives me the following dialog box (see link). (Clicking OK does not fix the problem and the same dialog comes up again.) </p>
  
  <p><a href="https://i.stack.imgur.com/GRxS6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GRxS6.png" alt="enter image description here"></a></p>
  
  <p>I realize that this directory is the one I just moved the entire project from (I just dragged and dropped the folder in finder). But now it's looking for this file (slice_2.apk) in the wrong location, because its path should now be:</p>
  
  <p>Users/cssummer17/YelpMeImTrying/app/build/intermediates/split-apk/debug/slices/slice_2.apk</p>
  
  <p>instead of </p>
  
  <p>Users/cssummer17/<strong>ud851-Exercises/Lesson02-GitHub-Repo-Search</strong>/YelpMeImTrying/app/build/intermediates/split-apk/debug/slices/slice_2.apk</p>
  
  <p>I would like to change where it's looking for the file, but I'm not sure how to change this. I have not changed any of my build.gradle files, and none of them have any relevant file paths in them, except one that contains the sdk location (which has not moved). </p>
  
  <p>Thank you very much!</p>
  
  <p>EDIT: I'm also pretty sure this is an issue with Instant Run, because apparently slice files do have something to do with Instant Run. After disabling it, everything seems to run fine. </p>