title: Adb Install Failure INSTALL_FAILED_VERSION_DOWNGRADE
body: <p>I uninstalled whatsapp and kept its data using: </p>
  
  <pre><code>adb.exe shell pm uninstall -k com.whatsapp
  </code></pre>
  
  <p>Then I tried to install an old version of whatsapp, but got the following error message even using the -r -d flags:</p>
  
  <pre><code>&gt;adb install -r -d tmp\LegacyWhatsApp.apk
  1738 KB/s (18329558 bytes in 10.298s)
  Failure [INSTALL_FAILED_VERSION_DOWNGRADE]
  </code></pre>
  
  <p>I'm using Windows 10 and Pixel XL android version 7.1.2</p>