我正在使用快车道插件automated_test_emulator_run
automated_test_emulator_run(
AVD_setup_path: "~/<path to your avd setup>/AVD_setup.json",
//some more tasks
)
现在尝试通过命令行运行相同的内容
fastlane automated_test_emulator_run AVD_setup_path:avd.json
但得到厄罗
[!找不到"automated_test_emulator_run"。可用通道:测试
使用任何插件并为此传递设置参数的任何提示?
我没有完全这样做,但做了类似的事情,所以我相信以下内容应该有效:
lane :your_emulator_lane do |options|
avdSetupPath = options[:AVD_setup_path]
automated_test_emulator_run(
AVD_setup_path: avdSetupPath,
)
end
然后会打电话
fastlane your_emulator_lane AVD_setup_path:avd.json