You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: dependency_checker.rb
    path of file: ./repos/fastlane/screengrab/lib/screengrab
    
    the code of the file until where you have to start completion: require_relative 'module'

module Screengrab
  class DependencyChecker
    def self.check(android_env)
      return if Helper.test?

      check_adb(android_env)
    end

    def self.check_adb(android_env)
      android_home = android_env.android_home
      adb_path = android_env.adb_path

  
    
    def self.raise_missing_adb(android_home)
      if android_home
        UI.error("The `adb` command could not be found relative to your provided ANDROID_HOME at #{android_home}")
        UI.error("Please ensure that the Android SDK is installed and the platform-tools directory is present")
      else
        UI.error('The `adb` command could not be found on your PATH')
        UI.error('Please ensure that the Android SDK is installed and the platform-tools directory is present and on your PATH')
      end