title: ADB0020: Android ABI mismatch. How do I set ABI of target physical device?
body: <p>I have a brand new Samsung A10 with Pie on it.</p>
  
  <p>I'm attempting to run the Sample Application provided in MediaPlugin:
  <a href="https://github.com/jamesmontemagno/MediaPlugin" rel="noreferrer">https://github.com/jamesmontemagno/MediaPlugin</a></p>
  
  <p>At first I was getting this error when I tried to build:</p>
  
  <blockquote>
    <p>Invalid value 'armeabi' in $(AndroidSupportedAbis). This ABI is no
    longer supported. Please update your project properties to remove the
    old value. If the properties page does not show an 'armeabi' checkbox,
    un-check and re-check one of the other ABIs and save the changes.</p>
  </blockquote>
  
  <p>Then I did some reasearch and went to Android Properties / Android Options / Advanced and unselected armeabo-v7a.</p>
  
  <p>As I understand it this will remove 32 but support, which I'm fine with.</p>
  
  <p>Now I get this error:</p>
  
  <blockquote>
    <p>ADB0020: Android ABI mismatch. You are deploying an app supporting
    'x86;x86_64;arm64-v8a' ABIs to an incompatible device of ABI
    'armeabi-v7a;armeabi'. You should either create an emulator matching
    one of your app's ABIs or add 'armeabi-v7a' to the list of ABIs your
    app builds for.</p>
  </blockquote>
  
  <p>I'm targeting a new A10 Samsung phone with Android Pie on it. I can't see where to set the 'device ABI', though why would a new Pie phone be interseted in armeabi-v7a anyway?</p>
  
  <p>Where can I set the 'device ABI' or otherwise fix this?</p>
  
  <p>I can't find anything on Google. Thanks.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I've found this work around which is as worrying as it is bizarre:</p>
  
  <ul>
  <li>Untick the armeabi-v7a option</li>
  <li>Build </li>
  <li>Re-tick the option   </li>
  <li>Build    </li>
  <li>Deploy</li>
  </ul>
  
  <p>from
  <a href="https://forums.xamarin.com/discussion/146174/vs2019-error-this-abi-is-no-longer-supported" rel="noreferrer">https://forums.xamarin.com/discussion/146174/vs2019-error-this-abi-is-no-longer-supported</a></p>
  
  <p>I'd like to understand what's going on here rather than just work around it.</p>
  
  <p>This is only an issue with my A10 physical Samsung phone, in emulators it seems to work fine.</p>