When testing a native mobile application on
Android 6.0 or later, you have to set the app to
Appium Settings to use the
setLocation method. To do so, open the settings of the
Android device or emulator and tap
. Then choose
Appium Settings.
Note: The
Appium Settings entry is only available if you have already executed a test with Appium on the
Android device or emulator.