Android 10: _appiumSupport.util.pluralize is not a function (Permissions not granted)
See original GitHub issueThe problem
Unable to grant permission on Android 10 Device. I have added autoGrantPermissions to true in desired capabilities.
Unable to grant permission requested. Original error: _appiumSupport.util.pluralize is not a function
Environment
- Appium version (or git revision) that exhibits the issue: Appium v1.17.0
- Desktop OS/version used to run Appium: MacOS 10.14.6
- Node.js version (unless using Appium.app|exe): v12.13.0
- Npm or Yarn package manager: 6.12.0
- Mobile platform/version under test: Android 10
- Real device or emulator/simulator: Pixel 2
Link to Appium logs
https://gist.github.com/mayureshshirodkar/75e40d4387749b40c0e89469da8da607
Issue Analytics
- State:
- Created 3 years ago
- Comments:8
Top Results From Across the Web
JavaScript pluralize an english string - Stack Overflow
So, I answer my own question by sharing my translation in javascript of Kuwamoto's PHP class. String.prototype.plural = function(revert){ var plural = { ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The correct way to uninstall npm modules is
npm uninstall -g <module_name>
It might be that your company is using its own npm repository mirror, which is out of date. I don’t know the cause: I’ve just tried to reinstall 1.17 on my computer and everything worked.