ios - sudo cordova build android error related to plugin -


when running command sudo cordova build android, following error thrown:

symbol:   variable permissionhelper location: class cameralauncher /users/rd/desktop/kda1/mobile/platforms/android/src/org/apache/cordova/camera/cameralauncher.java:281: error: cannot find symbol         permissionhelper.requestpermissions(this, take_pic_sec, permissions);         ^ symbol:   variable permissionhelper location: class cameralauncher 10 errors  failure: build failed exception.  * went wrong: execution failed task ':compiledebugjavawithjavac'. 

this project used have plugin org.apache.cordova.camera due ios incompatibility issues following 2 commands run:

cordova plugin remove org.apache.cordova.camera cordova plugin add org.apache.cordova.camera@latest 

the ios part started work ok, after android build started fail. have tried:

sudo cordova plugin remove cordova-plugin-camera 

but returns error message:

error: cannot find plugin.xml plugin "org.apache.cordova.camera". please try adding again. 

it somehow mixes 2 plugin names cordova-plugin-camera , org.apache.cordova.camera latter being folder old project had before removing , adding plugin again due ios incompatibility issues.


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -