Updated on 2026-08-14
This commit is contained in:
parent
2c5c44736d
commit
7e7ec74d8f
2 changed files with 2 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ public class Logger {
|
|||
if (f.createNewFile()) {
|
||||
f.setReadable(true);
|
||||
FileWriter fileWriter = new FileWriter(f, true);
|
||||
Process process = Runtime.getRuntime().exec("logcat -d -b main -v time");
|
||||
Process process = Runtime.getRuntime().exec("logcat -d -v time");
|
||||
try {
|
||||
InputStream is = process.getInputStream();
|
||||
InputStreamReader isr = new InputStreamReader(is);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue