2023-09-12发表2023-09-13更新javajava使用adb调试安卓系统可用使用Runtime.getRuntime.exec(“adb command”)。 Java代码如下: 12345678public static void main(String[] arges){ String adbCommand = "adb push E:/soft/bilibili.apk /storage/emulated/0/Download"; try{ Runtime.getRuntime.exec(adbCommand); } catch (Exception e) { System.out.println("上传失败!"); }}