java.lang.Object
com.pnfsoftware.jeb.core.units.code.android.adb.AdbUtil

public class AdbUtil extends Object
Utility code to locate adb on the current system.
  • Field Details

    • adbName

      public static final String adbName
      Standard Android Debug Bridge (ADB) file name is "adb".
      See Also:
    • legacySdkLocationVar

      public static final String legacySdkLocationVar
      See https://developer.android.com/tools/variables
      See Also:
    • currentSdkLocationVar

      public static final String currentSdkLocationVar
      See https://developer.android.com/tools/variables
      See Also:
  • Constructor Details

    • AdbUtil

      public AdbUtil()
  • Method Details

    • findAdbOnCurrentSystem

      public static File findAdbOnCurrentSystem() throws IOException
      Find the Android Debug Bridge (adb) on this system.
      Returns:
      the ADB file (never null)
      Throws:
      IOException - on error, incl. adb not found