Skip to content

Unable to read AVD_setup.json. Check JSON file structure or file path. #21

@Xavbm

Description

@Xavbm

Error : Unable to read AVD_setup.json. Check JSON file structure or file path.

I'm trying to use the plugin, but it seems that my path is always wrong.
I tried different paths and move the config file, but i'm always having the same error.

Exemple code
automated_test_emulator_run(
AVD_setup_path: "~/Projets/projectName/fastlane/AVD_configs/AVD_setup.json",
gradle_task: "connectedAndroidTest"
)

Here my config. json
{
"avd_list": [
{
"avd_name": "Test-Emulator-API23",
"create_avd_target": "android-23",
"create_avd_abi": "google_apis/x86",
"create_avd_hardware_config_filepath": "",
"create_avd_additional_options": "",

      "launch_avd_snapshot_filepath": "",
      "launch_avd_launch_binary_name": "emulator",
      "launch_avd_port": "",
      "launch_avd_additional_options": ""
    }
]

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions