While i try to add an android platform in my Phonegap project i get this error
Failed to install 'cordova-plugin-whitelist':Error: <project_path>/platforms/android/cordova/version: Command failed with exit code EACCES
at ChildProcess.whenDone (/usr/lib/node_modules/phonegap/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:131:23)
at ChildProcess.emit (events.js:95:17)
at Process.ChildProcess._handle.onexit (child_process.js:818:12)
And i try do some of this link solutions like give permission to build and remove the android platform and add it again but every time i get the same error
What is the potential solution ?