Last active
May 8, 2022 06:57
-
-
Save Kishanjvaghela/ad13f05df7c8cbeeeffd66db293954c0 to your computer and use it in GitHub Desktop.
ADB command
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adb shell pm disable-user --user 0 <app.name.here> | |
# https://forum.xda-developers.com/t/pm-uninstall-failure-delete_failed_internal_error.4344193/?msclkid=5488eb75ce9b11eca254c0b58403ab10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
first I find my platform-tools than I was using zshrc instead of bash_profile so I run this command first | |
echo 'export PATH=${PATH}:$HOME/Library/Android/sdk/platform-tools/' >> ~/.zshrc | |
next refresh terminal | |
source ~/.zshrc | |
Check if it worked | |
adb devices | |
result of this command must be something similar to this if so then it worked. | |
List of devices attached | |
emulator-5554 device | |
# https://stackoverflow.com/a/64889091/3758898 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment