From 34be7899be13edd1fe7e2c730196e8f970fb642b Mon Sep 17 00:00:00 2001 From: Michael Ruhl Date: Fri, 5 Aug 2022 16:46:54 +0200 Subject: [PATCH] Use new avdmanager binary --- .../plugin/android_emulator/actions/android_emulator_action.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fastlane/plugin/android_emulator/actions/android_emulator_action.rb b/lib/fastlane/plugin/android_emulator/actions/android_emulator_action.rb index 86bffee..e8eea4b 100644 --- a/lib/fastlane/plugin/android_emulator/actions/android_emulator_action.rb +++ b/lib/fastlane/plugin/android_emulator/actions/android_emulator_action.rb @@ -27,7 +27,7 @@ def self.run(params) if !avd_active(params, config_file) || params[:cold_boot] UI.message("Creating new emulator") FastlaneCore::CommandExecutor.execute( - command: "#{sdk_dir}/tools/bin/avdmanager create avd -n '#{params[:name]}' -f -k '#{params[:package]}' -d '#{params[:device]}'", + command: "#{sdk_dir}/cmdline-tools/latest/bin/avdmanager create avd -n '#{params[:name]}' -f -k '#{params[:package]}' -d '#{params[:device]}'", print_all: true, print_command: true )