android folder in your user directory Create an empty repositories.cfg file Latest version (as of Feb 2022) Android Debug Bridge version 1.0.41 Version 32.0. android/repositories.cfg could not be loaded. When the app needs to use any of the protected features of the device (sending. adb kill-server SDKManager update adb version If you get an error. Once that app's installed on the device you can give it permissions and mock location through adb like this: adb shell pm grant io.ttings _PHONE_STATEĪdb shell pm grant io.ttings _SETTINGSĪdb shell pm grant io.ttings _FINE_LOCATIONĪdb shell pm grant io.ttings _COARSE_LOCATIONĪdb shell pm grant io.ttings _MOCK_LOCATIONĪdb shell pm grant io.ttings _ANIMATION_SCALEĪdb shell pm grant io.ttings _CONFIGURATIONĪdb shell am start -W -n io.ttings/.Settings -a -c -f 0x10200000Īdb shell appops set io.ttings android:mock_location allowĪdb shell am startservice -e longitude 28 -e latitude 77 io.ttings/. By default, an Android app starts with zero permissions granted to it. By default, an Android app starts with zero permissions granted to it. You will need to re-run the set debug each time (or use -persistent option).
You will get a popup that the app is waiting for a debug to attach. Alternatively what might also be an option here is to use Appium's io.tting's app. Run adb shell am set-debug-app -w .samples.masterdetail.