mirror of
https://github.com/revanced/jadb.git
synced 2025-04-29 22:24:33 +02:00
push apk to /data/local/tmp/ instead of sdcard, otherwise packagemanager cannot install from sdcard
This commit is contained in:
parent
d65c8b39d4
commit
163fa7f07f
@ -49,7 +49,7 @@ public class PackageManager {
|
||||
}
|
||||
|
||||
private void install(File apkFile, List<String> extraArguments) throws IOException, JadbException {
|
||||
RemoteFile remote = new RemoteFile("/sdcard/tmp/" + apkFile.getName());
|
||||
RemoteFile remote = new RemoteFile("/data/local/tmp/" + apkFile.getName());
|
||||
device.push(apkFile, remote);
|
||||
List<String> arguments = new ArrayList<>();
|
||||
arguments.add("install");
|
||||
|
Loading…
x
Reference in New Issue
Block a user