Skip to content

"Unable to read configuration of AVD" when ANDROID_USER_HOME or ANDROID_SDK_HOME is set #2602

@blindcat97

Description

@blindcat97

Describe the bug

Briefcase is unable to run an Android emulator. When I select the emulator from the list, it produces the error Unable to read configuration of AVD @beePhone. Looking at the logs, this seems to stem from a missing config file, C:\\Users\\blind\\.android\\avd\\beePhone.avd\\config.ini which is not present on my drive. I searched my user folder for any sign of beePhone.avd and found nothing. I went into AppData and cleared the SDK folder from Briefcase's cache, and reinstalled the SDK and created a new emulator, but it still has this error.

Steps to reproduce

  1. Prepare a project and build it for Android
  2. Use briefcase run android and select a new emulated phone.
  3. Phone fails to boot due to missing config

Expected behavior

I expect the emulator to boot.

Screenshots

No response

Environment

  • Operating System: Windows 11
  • Python version: 3.13
  • Software versions:
    • Briefcase: 0.3.26
    • Toga: 0.5.3

Logs

briefcase.2025_12_10-21_07_39.run.log


Additional context

Note: This is NOT related to my last bug report that was due to a comma in the file path. This project is running in a separate test folder outside of any paths with unusual characters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    androidThe issue relates to Android mobile support.bugA crash or error in behavior.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions