Sample Header Ad - 728x90

How to enable and disable app using LADB?

0 votes
0 answers
3196 views
So far, I only could find this related discussion from this site regarding disabling app on android by ADB, but I'm using LADB app and confirm whether these commands are correct or not since the discussion didn't mention anything about re-enabling the app. adb shell pm disable-user --user 0 adb shell pm enable-user --user 0 This is the app I am going to use: enter image description here Will it work just like when I disable or enable app through *settings*? The app I wanna disable is Facebook, by the way. On my old phone android 8.1, it has disable feature, but idk why my phone with android 11 doesn't have this feature. Anyway, are those commands safe to try? I'm not familiar with Android shell whatever, I only thought it would be wise to ask here first before I test it.
Asked by user516076 (259 rep)
Dec 30, 2021, 12:52 PM