Hi,
I have started new(tabs) ionic 5 project. I am not able to run ```
ionic cap run android -l --external
“devDependencies”: {
“@angular-devkit/build-angular”: “~12.1.1”,
“@angular-eslint/builder”: “~12.0.0”,
“@angular-eslint/eslint-plugin”: “~12.0.0”,
“@angular-eslint/eslint-plugin-template”: “~12.0.0”,
“@angular-eslint/template-parser”: “~12.0.0”,
“@angular/cli”: “~12.1.1”,
“@angular/compiler”: “~12.1.1”,
“@angular/compiler-cli”: “~12.1.1”,
“@angular/language-service”: “~12.0.1”,
“@capacitor/cli”: “3.2.2”,
“@ionic/angular-toolkit”: “^4.0.0”,
“@types/jasmine”: “~3.6.0”,
“@types/jasminewd2”: “~2.0.3”,
“@types/node”: “^12.11.1”,
“@typescript-eslint/eslint-plugin”: “4.16.1”,
“@typescript-eslint/parser”: “4.16.1”,
“eslint”: “^7.6.0”,
“eslint-plugin-import”: “2.22.1”,
“eslint-plugin-jsdoc”: “30.7.6”,
“eslint-plugin-prefer-arrow”: “1.2.2”,
“jasmine-core”: “~3.8.0”,
“jasmine-spec-reporter”: “~5.0.0”,
“karma”: “~6.3.2”,
“karma-chrome-launcher”: “~3.1.0”,
“karma-coverage”: “~2.0.3”,
“karma-coverage-istanbul-reporter”: “~3.0.2”,
“karma-jasmine”: “~4.0.0”,
“karma-jasmine-html-reporter”: “^1.5.0”,
“protractor”: “~7.0.0”,
“ts-node”: “~8.3.0”,
“typescript”: “~4.2.4”
},
The below error occured
× Running Gradle build - failed!
[capacitor] [error]
[capacitor] > Configure project :app
[capacitor] google-services.json not found, google-services plugin not applied. Push Notifications won’t work
[capacitor] WARNING:: Using flatDirs should be avoided because it doesn’t support any meta-data formats.
[capacitor] Currently detected usages:
[capacitor] - repository flatDir used in: project ‘:app’, project ‘:capacitor-cordova-android-plugins’
[capacitor] WARNING:: Please remove usages of jcenter()
Maven repository from your build scripts and migrate your build to other Maven repositories.
[capacitor] This repository is deprecated and it will be shut down in the future.
[capacitor] See
[capacitor] Currently detected usages in: root project ‘android’, project ‘:app’, project ‘:capacitor-android’, …
[capacitor] Warning: Mapping new ns
[capacitor] Warning: Mapping new ns
[capacitor] Warning: Mapping new ns
[capacitor] Warning: Mapping new ns
[capacitor] Warning: Mapping new ns