title: Android Studio is installing old apk on device
body: <p>I am developing an Android app using Android Studio (0.89 Build #AI-135.1404660, Built on Sept 3,2014) using both emulator and Nexus 4 device.</p>
  
  <p>I had the same issue with a version prior to that.</p>
  
  <p>The problem is that after I changed my code and resource files, I still get the old apk installed on the device or emulator.</p>
  
  <p>What do I need to do to get it to run current code? Is it a building config?</p>
  
  <p>Is it a known issue with Android Studio?</p>
  
  <p>Or with a Nexus 4 device?</p>
  
  <p>This is the second time it has happened, and I resolved it(then) after trying one of the steps below. They have not worked for me again.</p>
  
  <p>Here is what I've tried</p>
  
  <ol>
  <li>Build > Clean Project > Restart Android Studio > Run</li>
  <li>Build > Rebuild Project > Run</li>
  <li>Step 1 plus Uninstalling of apk on device</li>
  <li>Step 2 plus Unistalling of apk on device</li>
  <li>Adding erroneous resource entry then running.</li>
  </ol>
  
  <p>I have read the following:</p>
  
  <ol>
  <li><a href="https://stackoverflow.com/questions/18122696/android-apk-install-how-to-clear-files-from-old-version">Android apk install: How to clear files from old version?</a></li>
  <li><a href="https://stackoverflow.com/questions/12483720/adb-how-to-reinstall-an-app-without-retaining-the-data">adb - How to reinstall an app, without retaining the data?</a></li>
  <li><a href="https://stackoverflow.com/questions/11810909/device-still-has-the-old-apk">Device still has the old apk</a></li>
  <li><a href="https://stackoverflow.com/questions/24923188/android-build-doesnt-update-code-base-or-resources-for-target-apk-on-device">Android build doesn&#39;t update code base or resources for target .apk on device</a></li>
  </ol>
  
  <p>None has worked so far.</p>