- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {}
private static void setupBridge(Project project) { AndroidDebugBridge.initIfNeeded(false); String adbPath = ((BaseExtension)project.getExtensions().getByName("android")).getAdbExecutable().getAbsolutePath(); bridge = AndroidDebugBridge.createBridge(adbPath, false); }