-
Notifications
You must be signed in to change notification settings - Fork 965
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: Error "Storage" plugin is not implemented on android #5430
Comments
Check https://capacitorjs.com/docs/android/troubleshooting#plugin-not-implemented, it contains a few things that can cause the issue. |
I was able to resolve the issue by removing the compiled frontend files and plugins and running rm -rf android/app/src/main/assets/*
rm -rf android/capacitor-cordova-android-plugins
npx cap sync android If this is not enough, try running the |
I resolved this issue by disabling minify.
version: |
@capacitor/storage was working perfectly fine but after updating it to @capacitor/preferences its throwing "Storage" plugin is not implemented on android |
@vikicoder007 I have the same exact issue except on iOS |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out. |
Bug Report
Capacitor Version
Platform(s)
Android
Current Behavior
Hi, there's errors from Sentry for Android. the plugin is working fine for both iOS and Android, just that there's errors that reported on Sentry. Could not simulate the error, only received the error from Sentry. Below is the sentry log, capacitor config and Main Activity. The Main Activity is just extend the BridgeActivity. Thank you.
Sentry log
capacitor config
MainActivity.java
Expected Behavior
Should not have error reported.
Code Reproduction
Other Technical Details
npm --version
output: 6.14.5node --version
output: v12.18.2Additional Context
similar issue - #4791 (comment)
document found - https://capacitorjs.com/docs/updating/3-0#switch-to-automatic-android-plugin-loading
The text was updated successfully, but these errors were encountered: