"XXX" plugin is not implemented on android - with any plugin

I’ve created a basic application with ionic start.
Used the tab template.
Added the few basic configuration needed to work with

the package looks like this

{
  "name": "ionic7",
  "version": "0.0.1",
  "author": "Ionic Framework",
  "homepage": "https://ionicframework.com/",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "watch": "ng build --watch --configuration development",
    "test": "ng test",
    "lint": "ng lint"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "^19.0.0",
    "@angular/common": "^19.0.0",
    "@angular/compiler": "^19.0.0",
    "@angular/core": "^19.0.0",
    "@angular/forms": "^19.0.0",
    "@angular/platform-browser": "^19.0.0",
    "@angular/platform-browser-dynamic": "^19.0.0",
    "@angular/router": "^19.0.0",
    "@capacitor/android": "^7.0.1",
    "@capacitor/app": "7.0.0",
    "@capacitor/core": "7.0.1",
    "@capacitor/haptics": "7.0.0",
    "@capacitor/keyboard": "7.0.0",
    "@capacitor/network": "^7.0.0",
    "@capacitor/status-bar": "7.0.0",
    "@ionic/angular": "^8.0.0",
    "ionicons": "^7.0.0",
    "rxjs": "~7.8.0",
    "tslib": "^2.3.0",
    "zone.js": "~0.15.0"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "^19.0.0",
    "@angular-eslint/builder": "^19.0.0",
    "@angular-eslint/eslint-plugin": "^19.0.0",
    "@angular-eslint/eslint-plugin-template": "^19.0.0",
    "@angular-eslint/schematics": "^19.0.0",
    "@angular-eslint/template-parser": "^19.0.0",
    "@angular/cli": "^19.0.0",
    "@angular/compiler-cli": "^19.0.0",
    "@angular/language-service": "^19.0.0",
    "@capacitor/cli": "7.0.1",
    "@ionic/angular-toolkit": "^12.0.0",
    "@types/jasmine": "~5.1.0",
    "@typescript-eslint/eslint-plugin": "^8.18.0",
    "@typescript-eslint/parser": "^8.18.0",
    "eslint": "^9.16.0",
    "eslint-plugin-import": "^2.29.1",
    "eslint-plugin-jsdoc": "^48.2.1",
    "eslint-plugin-prefer-arrow": "1.2.2",
    "jasmine-core": "~5.1.0",
    "jasmine-spec-reporter": "~5.0.0",
    "karma": "~6.4.0",
    "karma-chrome-launcher": "~3.2.0",
    "karma-coverage": "~2.2.0",
    "karma-jasmine": "~5.1.0",
    "karma-jasmine-html-reporter": "~2.1.0",
    "typescript": "~5.6.3"
  },
  "description": "An Ionic project"
}

in the tab page I’ve added the following


import { App } from '@capacitor/app';
import { Network } from '@capacitor/network';
....
....
export class Tab1Page implements OnInit {

  constructor() {  }
  ngOnInit(): void {
    Network.getStatus().then((n)=>{console.log('network status', n)}).catch(e =>{console.log(e);});
    App.getInfo().then((n)=>{console.log('appinfo', n)}).catch(e =>{console.log(e);});
  }

}

Then I run

ionic build;
npx cap sync;
npx cap copy android;
npx cap open android;

I build the app to run on the phone… but with any

2025-03-04 18:32:43.376 16610-16610 Capacitor/Console       io.ionic.starter                     I  File: https://localhost/2263.a968dfa38a40479f.js - Line 1 - Msg: Error: "Network" plugin is not implemented on android
2025-03-04 18:32:43.377 16610-16610 Capacitor/Console       io.ionic.starter                     I  File: https://localhost/2263.a968dfa38a40479f.js - Line 1 - Msg: Error: "App" plugin is not implemented on android

I tried to clean and build and to invalidate cahces.
But this is a sample app started… and its not working, what am I missing?

Thanks anyone

Try just running:

ionic cap sync android # This will build your web app and sync all in one step
ionic cap open android

Or just run everything in one command :slight_smile:

ionic cap build android # Builds, syncs, and opens

This section also suggests running “Sync Project with Gradle Files” in Android Studio.

Good morning!

I did the following:

ionic build
ionic cap build android

The app build successfully and it opens android studio.
I run it on the phone and when the app starts I get the folliwing

2025-03-05 08:19:10.009 31142-31142 Capacitor/Console       io.ionic.starter                     I  File: https://localhost/2263.a968dfa38a40479f.js - Line 1 - Msg: Error: "Network" plugin is not implemented on android
2025-03-05 08:19:10.010 31142-31142 Capacitor/Console       io.ionic.starter                     I  File: https://localhost/2263.a968dfa38a40479f.js - Line 1 - Msg: Error: "App" plugin is not implemented on android
2025-03-05 08:19:10.039 31142-31192 Capacitor               io.ionic.starter                     D  Handling local request: https://localhost/svg/triangle.svg
2025-03-05 08:19:10.045 31142-31194 Capacitor               io.ionic.starter                     D  Handling local request: https://localhost/svg/square.svg
2025-03-05 08:19:10.045 31142-31195 Capacitor               io.ionic.starter                     D  Handling local request: https://localhost/svg/ellipse.svg
2025-03-05 08:19:10.049 31142-31192 Capacitor               io.ionic.starter                     D  Handling local request: https://localhost/964.4aa1ea318d7037c3.js
2025-03-05 08:19:10.065 31142-31192 Capacitor               io.ionic.starter                     D  Handling local request: https://localhost/assets/icon/favicon.png
2025-03-05 08:19:10.080 31142-31192 Capacitor               io.ionic.starter                     D  Handling local request: https://localhost/7356.911eacb1ce959b5e.js
2025-03-05 08:19:10.080 31142-31194 Capacitor               io.ionic.starter                     D  Handling local request: https://localhost/8782.997b26ffd6109fcd.js
2025-03-05 08:19:10.081 31142-31142 Capacitor/Console       io.ionic.starter                     E  File: https://localhost/polyfills.91aae63ddd436914.js - Line 1 - Msg: Error: "App" plugin is not implemented on android

as you can see errors remains.
I am running on the following configuration:

java version “21.0.6” 2025-01-21 LTS
node v20.0.0
ionic CLI 7.2.0

Still getting the error with Sync Project with Gradle Files

Any suggestion is really appreciated

I found it out, sorry for bothering.
For those wondering what could be the reason:

double check your environment configuration if you are using nvm.
I have several version installed, and I mistakenly switched to wrong version 20, which I reported previously.

The correct version to use is >= 20.5, thus using 20.18 solved the problem.

  * 20.18.3 (Currently using 64-bit executable)
    20.0.0
    18.19.1
    18.13.0
    18.10.0
    16.20.2
    14.21.3
    14.15.0
    12.0.0
    10.13.0

I bet there should be a blocking message to prevent pitfall like this from happening, but I’ve been able to solve the problem.

Thanks anyone.

1 Like

officially Capacitor supports node 20.x, should work with any version of it, I’m not aware of anything requiring 20.5 or newer.