breautek commented on issue #1839:
URL: 
https://github.com/apache/cordova-android/issues/1839#issuecomment-3221129503

   This is almost certainly a state issue with the development where the plugin 
is not being installed correctly for one reason or another.
   
   **WARNING! DANGEROUS ACTION - SEE NOTE AT THE BOTTOM OF THIS COMMENT**
   
   I'd recommend trying:
   
   ```
   cordova platform remove android
   rm -rf plugins/cordova-plugin-file
   cordova platform add android
   ```
   
   This will make sure that `cordova-plugin-file` is re-fetched and then 
installed. It would be worth double checking to make sure the plugin file 
version is compatible with cordova-android@14. Updating to the latest file 
plugin version will be ideal.
   
   If the file plugin is experiencing this problem, then there are likely other 
plugins that might have the same problem, so it may be worth simply nuking the 
entire plugins folder to allow all plugins to be re-fetched.
   
   ```
   cordova platform remove android
   rm -rf plugins
   cordova platform add android
   ```
   
   Note that if you have manual changes inside the `plugins` folder, those 
changes will be lost. I am running under the assumption that you're trying the 
`plugins` folder as read-only, and that it's ignored in your source version 
control.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to