title: Installation failed with message INSTALL_FAILED_NO_MATCHING_ABIS
body: <p>I'm getting this error <strong>selectively</strong> (not everytime) on the same device (x86_64 lollipop emulator):</p>
  
  <blockquote>
    <p>Installation failed with message INSTALL_FAILED_NO_MATCHING_ABIS.
    It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.</p>
    
    <p>WARNING: Uninstalling will remove the application data!</p>
    
    <p>Do you want to uninstall the existing application?</p>
  </blockquote>
  
  <p>Next, when I press OK, it shows me this:</p>
  
  <blockquote>
    <p>pkg: /data/local/tmp/com.packagename.apps.rp
    Failure [INSTALL_FAILED_NO_MATCHING_ABIS]</p>
    
    <p>$ adb shell pm uninstall com.packagename.apps.rp
    DELETE_FAILED_INTERNAL_ERROR
    Error while Installing APK</p>
  </blockquote>
  
  <p>Multiple such questions have been asked and answered, and I've followed most of them:</p>
  
  <ol>
  <li>I used ARM architecture emulator to run the code as described <a href="https://stackoverflow.com/questions/24572052/install-failed-no-matching-abis-when-install-apk">here</a> and <a href="https://stackoverflow.com/questions/30914560/error-message-while-installing-app-install-failed-no-matching-abis">here</a>, it worked, but it's too slow</li>
  <li>I tried the change in gradle as described <a href="https://stackoverflow.com/a/33178914/5038993">here</a>, but that was of no help.</li>
  </ol>
  
  <p>Now, a couple of days later, I tried it again on the same x86 emulator and the app is running all good.</p>
  
  <p>I've had similar problem a couple of times in the past. Android Studio will show me this error - no solutions working, and a few days later when I retry it, it would run fine. </p>
  
  <p>Why is it happening? What could be the root cause for such unexpected behavior?</p>