Skip to content

After Capacitor 6 upgrade, all plugins are "not implemented on android" #2094

@Linksku

Description

@Linksku

Bug Report

I upgraded to Capacitor 6 yesterday, then spent half a day trying to fix "plugin is not implemented on android" errors.

Plugin(s)

I think it affects every plugin, but confirmed the error occurs with:

"@capacitor/clipboard": "^6.0.0",
"@capacitor/geolocation": "^6.0.0",
"@capacitor/share": "^6.0.0",
"@capacitor/splash-screen": "^6.0.0",
"@codetrix-studio/capacitor-google-auth": "^3.4.0-rc.1",

Capacitor Version

💊   Capacitor Doctor  💊

Latest Dependencies:

  @capacitor/cli: 6.0.0
  @capacitor/core: 6.0.0
  @capacitor/android: 6.0.0
  @capacitor/ios: 6.0.0

Installed Dependencies:

  @capacitor/cli: 6.0.0
  @capacitor/core: 6.0.0
  @capacitor/android: 6.0.0
  @capacitor/ios: 6.0.0

[error] Xcode is not installed
[success] Android looking great! 👌

Platform(s)

Android 14

Current Behavior

Using any plugin triggers "[plugin name] plugin is not implemented on android"

Expected Behavior

No errors like in Capacitor 5

Other Technical Details

Additional Context

Tried:

  • npx cap migrate
  • npx cap sync android
  • Deleted android folder, then npx cap add android
  • Deleted node_modules, then yarn
  • Restarted Android Studio, clean project, reload from disk, rebuild, etc
  • Created a whole new project, npx cap init, npx cap add android, etc. Still doesn't work

If I use my old Android build with Capacitor 5 plugins, but load a webview containing the JS for Capacitor 6 plugins, every plugin still works. Plugins all work on iOS.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions