Skip to the content.
This is the Spring 23 final website.
This is the Spring 23 final website.

Doodle — Emulator and Build Issues


Emulator Issues

Issue: Error message that mentions HAXM

Solution if you have a space in your username

  1. Launch a command prompt as an administrator
    • On Windows: Click the start button and search for cmd. Right-click on it and select Run as Administrator.
    • On MacOS: Type sudo zsh into a terminal
  2. Make a link!
    • On Windows: mklink /J C:\Users\MySelf "C:\Users\My Self"
  3. Click File -> Invalidate Caches and Restart in Android Studio

Another common fix

If you’re comfortable doing so, try to enable “Hardware Virtualization” or an equivalent in your computer’s BIOS, if it isn’t already.


Issue: Emulator immediately terminates on an M1 Mac


Build Issues

Issue: MacOS: Getting a could not find method dependencyResolutionManagement()... error

Make sure the Web Proxy setting is turned off! If it’s on, Android Studio won’t be able to verify some secure connection certificate. To do this, unselect proxies in your system preferences by going to Network -> Advanced -> (your current network).


If you’re still having trouble…

Please reach out on Ed or come in to office hours! These errors are often OS/hardware specific and can be tricky to debug and fix. Issues like this (aside from the initial setup of Android Studio) are unrelated to the course material, so we don’t want you spending extra time on them.