Skip to content

Commit

Permalink
Chmod lldb server so it can be ran after copy
Browse files Browse the repository at this point in the history
  • Loading branch information
Athosvk committed Jul 11, 2024
1 parent 7da6f62 commit cd6d9b2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion xbuild/src/devices/adb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -302,12 +302,17 @@ impl Adb {
.arg("700")
.arg(&dest)
.status()?;*/
let lldb_device_path = Path::new("./lldb-server");
let mut lldb_server = self
.shell(device, None)
.arg("cd")
.arg("/data/local/tmp")
.arg("&&")
.arg("./lldb-server")
.arg("chmod")
.arg("777")
.arg(lldb_device_path)
.arg("&&")
.arg(lldb_device_path)
.arg("platform")
.arg("--listen")
.arg("*:10086")
Expand Down

0 comments on commit cd6d9b2

Please sign in to comment.