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": ""
}
]
}
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": "",
}