mirror of
https://github.com/revanced/jadb.git
synced 2024-11-19 02:29:24 +01:00
Merge pull request #130 from root-intruder/master
push apk to /data/local/tmp/ instead of sdcard, otherwise packagemanager cannot install from sdcard
This commit is contained in:
commit
60a070132e
@ -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