Skip to main content
7 events
when toggle format what by license comment
Oct 26, 2022 at 17:41 comment added Code-Apprentice @JhonDoe I think you will need to root your phone in order to execute adb from an app.
Oct 25, 2022 at 14:12 comment added bmaciejm Actually it looks like as long as the approach mentioned above will work for executing shell commands in general it is not that simple when it comes to adb commands specifically. For more detailed explanation it was already answered here stackoverflow.com/a/52682468/4153947 and here stackoverflow.com/questions/44871391/… Thus I would propose that you can mark your question as duplicate and read the above threads.
Oct 25, 2022 at 9:38 comment added Jhon Doe i got this error sir .. Cannot run program "adb": error=13, Permission denied
Oct 25, 2022 at 8:10 comment added bmaciejm You are right, thanks for pointing this out.
Oct 25, 2022 at 8:10 history edited bmaciejm CC BY-SA 4.0
deleted 1 character in body
Oct 25, 2022 at 8:09 comment added Code-Apprentice You should fix your variable names to be consistent.
Oct 25, 2022 at 8:06 history answered bmaciejm CC BY-SA 4.0