Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android Fastlane将参数传递给插件_Android_Android Emulator_Fastlane_Fastlane Deliver - Fatal编程技术网

Android Fastlane将参数传递给插件

Android Fastlane将参数传递给插件,android,android-emulator,fastlane,fastlane-deliver,Android,Android Emulator,Fastlane,Fastlane Deliver,我正在使用Fastlane插件自动测试模拟器运行 automated_test_emulator_run( AVD_setup_path: "~/<path to your avd setup>/AVD_setup.json", //some more tasks ) 但是越来越性感 [!]找不到“自动测试仿真程序运行”。可用车道:测试 有没有关于使用任何插件并传递设置参数的提示?我还没有完全做到这一点,但已经做了类似的事情,所以我相信以下几点可以奏效: lane :y

我正在使用Fastlane插件自动测试模拟器运行

automated_test_emulator_run(
    AVD_setup_path: "~/<path to your avd setup>/AVD_setup.json",
//some more tasks
  )
但是越来越性感

[!]找不到“自动测试仿真程序运行”。可用车道:测试


有没有关于使用任何插件并传递设置参数的提示?

我还没有完全做到这一点,但已经做了类似的事情,所以我相信以下几点可以奏效:

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

我并没有完全做到这一点,但也做过类似的事情,所以我相信以下几点应该可以奏效:

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

谢谢你的帮助。我也在做同样的事。我不想使用文件来设置Jenkins管道作业,Jenkins管道不支持android emulator。存储库可能没有Fastlane文件,用户可以在runtimefound解决方案上输入自定义仿真器配置:Fastlane运行自动测试仿真器运行AVD安装路径:“AVD.json”感谢帮助。我也在做同样的事。我不想使用文件来设置Jenkins管道作业,Jenkins管道不支持android emulator。存储库可能没有Fastlane文件,用户可以在runtimefound解决方案上输入自定义仿真器配置:Fastlane运行自动测试仿真器运行AVD安装路径:“AVD.json”