@umeshionic1234 wrote:
After creating new project when I run ionic cordova platform add android …it run successfully
but after when i run image picker plugin " ionic cordova plugin add cordova-plugin-telerik-imagepicker --variable PHOTO_LIBRARY_USAGE_DESCRIPTION=“App wants to access your gallery”…this plugin is not working …its give me error …please help me sort this problemerror is :
G:\ion\imagePicker>ionic cordova plugin add cordova-plugin-telerik-imagepicker --variable PHOTO_LIBRARY_USAGE_DESCRIPTION=“App wants to access your gallery”cordova plugin add cordova-plugin-telerik-imagepicker --variable “PHOTO_LIBRARY_USAGE_DESCRIPTION=App wants to access your gallery” --save
Installing “com.synconset.imagepicker” for androidAndroid Studio project detected
Error during processing of action! Attempting to revert…
Failed to install ‘com.synconset.imagepicker’: Error: Uh oh!
ENOENT: no such file or directory, open 'G:\ion\imagePicker\platforms\android\AndroidManifest.xml’
at Object.fs.openSync (fs.js:646:18)
at Object.fs.readFileSync (fs.js:551:33)
at Object.parseElementtreeSync (G:\ion\imagePicker\platforms\android\cordova\node_modules\cordova-common\src\util\xml-helpers.js:180:27)
at new AndroidManifest (G:\ion\imagePicker\platforms\android\cordova\lib\AndroidManifest.js:29:20)
at AndroidProject.getPackageName (G:\ion\imagePicker\platforms\android\cordova\lib\AndroidProject.js:99:12)
at AndroidProject.getCustomSubprojectRelativeDir (G:\ion\imagePicker\platforms\android\cordova\lib\AndroidProject.js:105:28)
at install (G:\ion\imagePicker\platforms\android\cordova\lib\pluginHandlers.js:106:46)
at ActionStack.process (G:\ion\imagePicker\platforms\android\cordova\node_modules\cordova-common\src\ActionStack.js:56:25)
at PluginManager.doOperation (G:\ion\imagePicker\platforms\android\cordova\node_modules\cordova-common\src\PluginManager.js:114:20)
at PluginManager.addPlugin (G:\ion\imagePicker\platforms\android\cordova\node_modules\cordova-common\src\PluginManager.js:144:17)(node:1072) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Uh oh!
ENOENT: no such file or directory, open ‘G:\ion\imagePicker\platforms\android\AndroidManifest.xml’
(node:1072) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Posts: 1
Participants: 1