mirror of
https://github.com/revanced/jadb.git
synced 2024-11-19 10:39:23 +01: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…
Reference in New Issue
Block a user