Emulator: I/O warning : failed to load external entity "file:/C:/Users/username/.AndroidStudio3.4/config/options/updates.xml"
Behaviour
When launch emulator, has warning:
Emulator: I/O warning : failed to load external entity "file:/C:/Users/username/.AndroidStudio3.4/config/options/updates.xml"
Steps to reproduce this issue
- Debug an android app using an Android 8.1 AVD
Expected behaviour
Not display this warning message.
It looks like the updates.xml is in android-studio-portable\data\config\options, but the emulator find it in C:/Users/username/.AndroidStudio3.4/config/options. and in fact there is no folder C:/Users/username/.AndroidStudio3.4/config/ in disk.
Actual behaviour
Tell me what happens instead
Configuration
App release / arch (ex. 1.0.0-2 win64) :
3.4.2-4
Operating system (ex. Windows 10 Pro 64 bits) :
Win 10 64 bit, 1903
Hi @yetangye, thanks for your report. I was able to reproduce your issue but the emulator seems to be launched anyway:

Is it the same behavior for you ?
@crazy-max 👍 Yes, emulator also launched on my PC.
After many attempts, it seems this path is hardcoded in the emulator code. The only way to solve this problem would be to create a symbolic link that requires administrative rights. Which I don't really find acceptable in this kind of situation. See also https://stackoverflow.com/a/51111124/514571
I try the solution but for me not working. Not arted the emulator on Windows10 9:27 Emulator: I/O warning : failed to load external
9:27 Emulator: entity "file:/C:/Users/szautb/.AndroidStudio4.0/config/options/updates.xml"
9:27 Emulator: ERROR: resizing partition e2fsck failed with exit code 8
9:27 Emulator: I/O warning : failed to load external entity "file:/C:/Users/szautb/.AndroidStudio4.0/config/options/updates.xml"
after I try on cmd.
C:\WINDOWS\system32>mklink /H C:\Users\szautb.AndroidStudio4.0\config\options\updates.xml D:\portapps\android-studio-portable\data\config\options\updates.xml Es sind lokale NTFS-Volumes erforderlich, um den Vorgang abzuschlieĂźen.
how can i solve this issue to start an emulator?