Module 2 || Unable to launch MakeMyTrip App || Encountered internal error running command: Error executing adbExec. | Appium Forum
V
V L Puneeth Kumar Posted on 19/09/2020

Hi Sir,
I am unable to launch make my trip application.

Facing the below error:

Encountered internal error running command: Error executing adbExec. Original error: 'Command 'C:\\Users\\91967\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s 17617090 shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy'' exited with code 255'; Stderr: 'Security exception: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS
[W3C]
[W3C] java.lang.SecurityException: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS
[W3C] at com.android.providers.settings.SettingsProvider.enforceWritePermission(SettingsProvider.java:1815)
[W3C] at com.android.providers.settings.SettingsProvider.mutateGlobalSetting(SettingsProvider.java:1023)
[W3C] at com.android.providers.settings.SettingsProvider.deleteGlobalSetting(SettingsProvider.java:1006)
[W3C] at com.android.providers.settings.SettingsProvider.delete(SettingsProvider.java:592)
[W3C] at android.content.ContentProvider$Transport.delete(ContentProvider.java:344)
[W3C] at com.android.providers.settings.SettingsService$MyShellCommand.deleteForUser(SettingsService.java:406)
[W3C] at com.android.providers.settings.SettingsService$MyShellCommand.onCommand(SettingsService.java:289)
[W3C] at android.os.ShellCommand.exec(ShellCommand.java:103)
[W3C] at com.android.providers.settings.SettingsService.onShellCommand(SettingsService.java:51)
[W3C] at android.os.Binder.shellCommand(Binder.java:629)
[W3C] at android.os.Binder.onTransact(Binder.java:527)
[W3C] at android.os.Binder.execTransact(Binder.java:726)
[W3C] Security exception: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS

Kindly help me to resolve this issue. Thanks!


V
V L Puneeth Kumar Replied on 19/09/2020

 

Hi Sir,

Finally I resolved this issue. Kindly close this ticket.

Thanks!