title: AVD emulator killed - Mac
body: <p>I've spent whole day trying all methods found in multiple questions here on stackoverflow and dozens of google results (short summary):</p>
  <ul>
  <li>Restart computer</li>
  <li>Delete and recreate AVD</li>
  <li>Change AVDs Graphic to Software (both in the AVD manager and directly in file)</li>
  <li>Reinstall Emulator in SDK manager (all possible ways - update, delete and reinstall, reinstall on demand when starting AVD)</li>
  <li>Reinstall HAXM</li>
  <li>Reinstall Android studio</li>
  <li>Check all Android versions in SDK manager</li>
  <li>Start AVD from command line (this method is important for this post)</li>
  <li>probably something more</li>
  <li>... and this everything several times in different order and combinations</li>
  </ul>
  <p>Then I've found this comment reply under (<a href="https://www.youtube.com/watch?v=AOK9ZxiBOGg" rel="noreferrer">this</a>) video on youtube:</p>
  <pre><blockquote>
  I managed to fix the issue after looking for it for 5 hours.
  There is no error message when I tried to run from the android studio. 
  
  However, running the emulator the terminal will print the error message and this will help a lot.
  
  Run from terminal:
  /Users/hendrysetiadi/Library/Android/sdk/emulator/emulator emulator -avd Pixel_4_API_29
  
  My error message is like below:
  emulator: Android emulator version 30.5.0.0 (build_id 7145572) (CL:N/A)
  
  dyld: Library not loaded: /System/Library/Frameworks/IOUSBHost.framework/Versions/A/IOUSBHost
  
  Referenced from: /Users/hendrysetiadi/Library/Android/sdk/emulator/qemu/darwin-x86_64/qemu-system-x86_64
  
  Reason: image not found
  
  Abort trap: 6
  
  
  
  I managed to get the IOUSBHost.framework from my friend laptop and then upload it to google drive (in zip format)
  
  I follow the steps in here
  https://apple.stackexchange.com/questions/300222/accidentally-deleted-a-system-framework-macos-screwed
  
  The steps are
  - restart mac and command+R to show recovery option, choose safari icon to launch safari in recovery mode
  - In safari, open the google drive link I have uploaded earlier, then download the zip file directly into /System/Library/Frameworks/ (it will automatically unzip)
  - restart the laptop.
  - Done
  </blockquote></pre>
  <p>That was exactly the same error I got using command line method.</p>
  <p>The problem is, that I do net have access to another computer running OSX - Mojave in my case. But I don't know if the os version is that important.</p>
  <p>My question is: &quot;Is anybody capable and willing to provide the file <b>IOUSBHost.framework</b> found in <b>/System/Library/Frameworks/ </b> from OSX (Mojave at best) and post the link here?&quot; Preferably in zip, but I can manage this myself.</p>
  <p>I will immediately test the method and if it will work I will host the file myself (to maintain availability and to free the poster`s resources) and create solution answer here.</p>
  <p>Thank you</p>