mirror of
https://github.com/revanced/jadb.git
synced 2025-06-12 05:07:39 +02:00
Now possible to install packages easily.
This commit is contained in:
Binary file not shown.
@ -7,6 +7,7 @@ import se.vidstige.jadb.JadbConnection;
|
||||
import se.vidstige.jadb.managers.Package;
|
||||
import se.vidstige.jadb.managers.PackageManager;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.util.List;
|
||||
|
||||
@ -37,4 +38,11 @@ public class PackageMangerTests {
|
||||
System.out.println(p);
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testInstallUninstallCycle() throws Exception {
|
||||
File f = new File("test/data/Tiniest Smallest APK ever_v' platformBuildVersionName=_apkpure.com.apk");
|
||||
pm.install(f);
|
||||
pm.uninstall(new Package("b.a"));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user