I have granted all of the permissions listed here: https://macrodroidforum.com/index.p...nting-extra-capabilities-via-the-adb-tool.48/
Specifically this one:
When I create a macro with a Logcat Message trigger there is a group of System Logs that appear:
And here is the relevant logcat message:
Is there anything I should look into that I might be doing wrong?
Specifically this one:
Code:
adb shell pm grant com.arlosoft.macrodroid android.permission.READ_LOGS
When I create a macro with a Logcat Message trigger there is a group of System Logs that appear:
Code:
<<<<<<< Closing Logcat monitor <MACRO NAME>
>>>>> Starting Logcat monitor <MACRO NAME>
Failed to initialize logcat listner: java.io.IOException: Stream closed
And here is the relevant logcat message:
Code:
09-11 13:54:50.478 1189 1250 I SurfaceFlinger: id=1587 createSurf (0x0),-1 flag=80004, 456f484 com.arlosoft.macrodroid/com.arlosoft.macrodroid.editscreen.EditMacroActivity#0
09-11 13:54:50.479 1213 3490 D WindowManager: isScreenshotDisabledLocked - win: Window{456f484 u0 com.arlosoft.macrodroid/com.arlosoft.macrodroid.editscreen.EditMacroActivity}
09-11 13:54:50.479 1213 3490 D WindowManager: isScreenshotDisabledLocked: userId = 0, disabled =false
09-11 13:54:50.479 1213 3490 D InputTransport: Input channel destroyed: '456f484', fd=753
09-11 13:54:50.479 6849 6849 D InputTransport: Input channel constructed: '456f484', fd=166
09-11 13:54:50.482 6849 6849 I ViewRootImpl@7cf6438[EditMacroActivity]: setView = com.android.internal.policy.DecorView@17e271e TM=true
09-11 13:54:50.482 19240 19257 I RoutineDebug[3.1.20.17]: Pref: putSharedPrefsData() key=condition_launch_app_data_resume_pkg
09-11 13:54:50.485 6849 27663 W System.err: java.io.IOException: Cannot run program "su": error=2, No such file or directory
09-11 13:54:50.485 6849 27663 W System.err: at java.lang.ProcessBuilder.start(ProcessBuilder.java:1050)
09-11 13:54:50.485 6849 27663 W System.err: at java.lang.Runtime.exec(Runtime.java:699)
09-11 13:54:50.485 6849 27663 W System.err: at java.lang.Runtime.exec(Runtime.java:529)
09-11 13:54:50.485 6849 27663 W System.err: at java.lang.Runtime.exec(Runtime.java:426)
09-11 13:54:50.485 6849 27663 W System.err: at com.stericson.RootShell.execution.Shell.<init>(Shell.java:26)
09-11 13:54:50.485 6849 27663 W System.err: at com.stericson.RootShell.execution.Shell.N(Shell.java:5)
09-11 13:54:50.485 6849 27663 W System.err: at com.stericson.RootShell.execution.Shell.M(Shell.java:1)
09-11 13:54:50.485 6849 27663 W System.err: at com.stericson.RootShell.RootShell.k(RootShell.java:4)
09-11 13:54:50.485 6849 27663 W System.err: at com.arlosoft.macrodroid.editscreen.b1.C(SelectableItemsListAdapter.kt:1)
09-11 13:54:50.485 6849 27663 W System.err: at com.arlosoft.macrodroid.editscreen.b1.I(Unknown Source:0)
09-11 13:54:50.485 6849 27663 W System.err: at com.arlosoft.macrodroid.editscreen.s0.call(Unknown Source:0)
09-11 13:54:50.485 6849 27663 W System.err: at io.reactivex.internal.operators.single.a.p(SingleDefer.java:1)
09-11 13:54:50.485 6849 27663 W System.err: at io.reactivex.o.a(Single.java:4)
09-11 13:54:50.485 6849 27663 W System.err: at io.reactivex.internal.operators.single.SingleSubscribeOn$SubscribeOnObserver.run(SingleSubscribeOn.java:1)
09-11 13:54:50.485 6849 27663 W System.err: at io.reactivex.n$a.run(Scheduler.java:2)
09-11 13:54:50.485 6849 27663 W System.err: at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:2)
09-11 13:54:50.485 6849 27663 W System.err: at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:1)
09-11 13:54:50.485 6849 27663 W System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
09-11 13:54:50.485 6849 27663 W System.err: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
09-11 13:54:50.485 6849 27663 W System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
09-11 13:54:50.485 6849 27663 W System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
09-11 13:54:50.485 6849 27663 W System.err: at java.lang.Thread.run(Thread.java:923)
09-11 13:54:50.485 6849 27663 W System.err: Caused by: java.io.IOException: error=2, No such file or directory
09-11 13:54:50.485 6849 27663 W System.err: at java.lang.UNIXProcess.forkAndExec(Native Method)
09-11 13:54:50.485 6849 27663 W System.err: at java.lang.UNIXProcess.<init>(UNIXProcess.java:133)
09-11 13:54:50.485 6849 27663 W System.err: at java.lang.ProcessImpl.start(ProcessImpl.java:141)
09-11 13:54:50.485 6849 27663 W System.err: at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
09-11 13:54:50.485 6849 27663 W System.err: ... 21 more
09-11 13:54:50.487 6849 27664 W System.err: java.io.IOException: Cannot run program "su": error=2, No such file or directory
09-11 13:54:50.487 6849 27664 W System.err: at java.lang.ProcessBuilder.start(ProcessBuilder.java:1050)
09-11 13:54:50.487 6849 27664 W System.err: at java.lang.Runtime.exec(Runtime.java:699)
09-11 13:54:50.487 6849 27664 W System.err: at java.lang.Runtime.exec(Runtime.java:529)
09-11 13:54:50.487 6849 27664 W System.err: at java.lang.Runtime.exec(Runtime.java:426)
09-11 13:54:50.487 6849 27664 W System.err: at com.stericson.RootShell.execution.Shell.<init>(Shell.java:26)
09-11 13:54:50.487 6849 27664 W System.err: at com.stericson.RootShell.execution.Shell.N(Shell.java:5)
09-11 13:54:50.487 6849 27664 W System.err: at com.stericson.RootShell.execution.Shell.M(Shell.java:1)
09-11 13:54:50.487 6849 27664 W System.err: at com.stericson.RootShell.RootShell.k(RootShell.java:4)
09-11 13:54:50.487 6849 27664 W System.err: at com.arlosoft.macrodroid.editscreen.b1.C(SelectableItemsListAdapter.kt:1)
09-11 13:54:50.487 6849 27664 W System.err: at com.arlosoft.macrodroid.editscreen.b1.I(Unknown Source:0)
09-11 13:54:50.487 6849 27664 W System.err: at com.arlosoft.macrodroid.editscreen.s0.call(Unknown Source:0)
09-11 13:54:50.487 6849 27664 W System.err: at io.reactivex.internal.operators.single.a.p(SingleDefer.java:1)
09-11 13:54:50.487 6849 27664 W System.err: at io.reactivex.o.a(Single.java:4)
09-11 13:54:50.487 6849 27664 W System.err: at io.reactivex.internal.operators.single.SingleSubscribeOn$SubscribeOnObserver.run(SingleSubscribeOn.java:1)
09-11 13:54:50.487 6849 27664 W System.err: at io.reactivex.n$a.run(Scheduler.java:2)
09-11 13:54:50.487 6849 27664 W System.err: at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:2)
09-11 13:54:50.487 6849 27664 W System.err: at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:1)
09-11 13:54:50.487 6849 27664 W System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
09-11 13:54:50.487 6849 27664 W System.err: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
09-11 13:54:50.487 6849 27664 W System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
09-11 13:54:50.487 6849 27664 W System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
09-11 13:54:50.487 6849 27664 W System.err: at java.lang.Thread.run(Thread.java:923)
09-11 13:54:50.487 6849 27664 W System.err: Caused by: java.io.IOException: error=2, No such file or directory
09-11 13:54:50.487 6849 27664 W System.err: at java.lang.UNIXProcess.forkAndExec(Native Method)
09-11 13:54:50.487 6849 27664 W System.err: at java.lang.UNIXProcess.<init>(UNIXProcess.java:133)
09-11 13:54:50.487 6849 27664 W System.err: at java.lang.ProcessImpl.start(ProcessImpl.java:141)
09-11 13:54:50.487 6849 27664 W System.err: at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
09-11 13:54:50.487 6849 27664 W System.err: ... 21 more
Is there anything I should look into that I might be doing wrong?