fastlane/lib/fastlane/helper/adb_helper.rb in fastlane_hotfix-2.165.1 vs fastlane/lib/fastlane/helper/adb_helper.rb in fastlane_hotfix-2.187.0

- old
+ new

@@ -22,10 +22,10 @@ android_home = ENV['ANDROID_HOME'] || ENV['ANDROID_SDK_ROOT'] || ENV['ANDROID_SDK'] if (adb_path.nil? || adb_path == "adb") && android_home adb_path = File.join(android_home, "platform-tools", "adb") end - self.adb_path = File.expand_path(adb_path) + self.adb_path = Helper.get_executable_path(File.expand_path(adb_path)) self.adb_host = adb_host end def host_option return self.adb_host ? "-H #{adb_host}" : nil