Hello!
I try to create a new android app from blank template, adding Firebase plugin and to build, but this failed. Could you please help me to resolve this ? I’ve followed the documentation without success. Thanks!
Build error:
- What went wrong:
Failed to capture fingerprint of input files for task ‘:app:preDebugBuild’ property ‘compileManifests’ during up-to-date check.The library com.google.android.gms:play-services-measurement-base is being requested by various other libraries at [[17.0.0,17.0.0], [17.2.1,17.2.1]], but resolves to 17.2.1. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.
My configuration:
Ionic CLI : 5.4.6 (/usr/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.9
@ionic/app-scripts : 3.2.4
Cordova:
Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : android 8.1.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 14 other plugins)
Utility:
cordova-res : not installed
native-run : 0.2.8 (update available: 0.2.9)
System:
Android SDK Tools : 26.1.1 (/home/guillaume/dev/android)
NodeJS : v10.16.3 (/usr/bin/node)
npm : 6.9.0
OS : Linux 5.3
Easy steps to reproduce:
$ ionic start ionicApp blank
$ cd ionicApp
$ cp ../google-services.json .
$ ionic cordova platform add android
$ ionic cordova plugin add cordova-plugin-firebase
$ npm install @ionic-native/firebase --save
$ ionic build android
Detailled output:
guillaume@dev:~/dev % ionic start ionicApp blank
Pick a framework!
Please select the JavaScript framework to use for your new app. To bypass this prompt next time, supply a value for the
–type option.? Framework: Angular
Preparing directory ./ionicApp - done!
Downloading and extracting blank starter - done!
Installing dependencies may take several minutes.
──────────────────────────────────────────────────────────────────────────────
Ionic Advisory, tailored solutions and expert services by Ionic Go to market faster 🏆 Real-time troubleshooting and guidance 💁 Custom training, best practices, code and architecture reviews 🔎 Customized strategies for every phase of the development lifecycle 🔮 👉 https://ion.link/advisory 👈
──────────────────────────────────────────────────────────────────────────────
npm i
core-js@3.1.4 postinstall /home/guillaume/dev/ionicApp/node_modules/@angular-devkit/build-angular/node_modules/core-js
node scripts/postinstall || echo “ignore”Thank you for using core-js ( GitHub - zloirock/core-js: Standard Library ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
core-js - Open Collective
Denis Pushkarev | creating core-js | PatreonAlso, the author of core-js ( zloirock (Denis Pushkarev) · GitHub ) is looking for a good job -)
core-js@2.6.10 postinstall /home/guillaume/dev/ionicApp/node_modules/core-js
node postinstall || echo “ignore”Thank you for using core-js ( GitHub - zloirock/core-js: Standard Library ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
core-js - Open Collective
Denis Pushkarev | creating core-js | PatreonAlso, the author of core-js ( zloirock (Denis Pushkarev) · GitHub ) is looking for a good job -)
@angular/cli@8.1.3 postinstall /home/guillaume/dev/ionicApp/node_modules/@angular/cli
node ./bin/postinstall/script.jsnpm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/webpack-dev-server/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/watchpack/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/karma/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/@angular/compiler-cli/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})added 1097 packages from 1051 contributors and audited 17288 packages in 36.844s
found 0 vulnerabilitiesgit init
Dépôt Git vide initialisé dans /home/guillaume/dev/ionicApp/.git/
git add -A
git commit -m “Initial commit” --no-gpg-sign*** Veuillez me dire qui vous êtes.
Lancez
git config --global user.email “Vous@exemple.com”
git config --global user.name “Votre Nom”pour régler l’identité par défaut de votre compte.
Éliminez --global pour ne faire les réglages que dans ce dépôt.fatal: impossible de détecter automatiquement l’adresse (‘guillaume@dev.(none)’ trouvé)
[WARN] Error encountered during commit. Disabling further git operations.[INFO] Next Steps:
- Go to your newly created project: cd ./ionicApp - Run ionic serve within the app directory to see your app - Build features and components: https://ion.link/scaffolding-docs - Run your app on a hardware or virtual device: https://ion.link/running-docs
puis…
guillaume@dev:~/dev % cd ionicApp
guillaume@dev:~/dev/ionicApp [master|●37] % cp …/google-services.json .
sending incremental file list
google-services.json
1,032 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=0/1)sent 576 bytes received 35 bytes 1,222.00 bytes/sec
total size is 1,032 speedup is 1.69
guillaume@dev:~/dev/ionicApp [master|●37…1] % ls google-services.json -la
-rw-r–r–. 1 guillaume guillaume 1032 18 nov. 14:13 google-services.json
Adding the platform:
guillaume@dev:~/dev/ionicApp [master|●37…1] % ionic cordova platform add android
ionic integrations enable cordova
[INFO] Downloading integration cordova
[INFO] Copying integrations files to project
CREATE resources
CREATE resources/splash.png
CREATE resources/ios
CREATE resources/ios/splash
(…) truncated because of ionic forum post size limit
CREATE resources/android/icon/drawable-hdpi-icon.png
CREATE resources/README.md
CREATE config.xml
[OK] Integration cordova added!
Creating ./www directory for you - done!
cordova platform add android
Using cordova-fetch for cordova-android@^8.0.0
Adding android project…
Creating Cordova project for the Android platform:
Path: platforms/android
Package: io.ionic.starter
Name: MyApp
Activity: MainActivity
Android target: android-28
Subproject Path: CordovaLib
Subproject Path: app
Android project created with cordova-android@8.1.0
Plugin ‘cordova-plugin-whitelist’ found in config.xml… Migrating it to package.json
Plugin ‘cordova-plugin-statusbar’ found in config.xml… Migrating it to package.json
Plugin ‘cordova-plugin-device’ found in config.xml… Migrating it to package.json
Plugin ‘cordova-plugin-splashscreen’ found in config.xml… Migrating it to package.json
Plugin ‘cordova-plugin-ionic-webview’ found in config.xml… Migrating it to package.json
Plugin ‘cordova-plugin-ionic-keyboard’ found in config.xml… Migrating it to package.json
Discovered saved plugin “cordova-plugin-whitelist”. Adding it to the project
Installing “cordova-plugin-whitelist” for androidThis plugin is only applicable for versions of cordova-android greater than 4.0. If you have a previous platform version, you do *not* need this plugin since the whitelist will be built in.
Adding cordova-plugin-whitelist to package.json
Discovered saved plugin “cordova-plugin-statusbar”. Adding it to the project
Installing “cordova-plugin-statusbar” for android
Adding cordova-plugin-statusbar to package.json
Discovered saved plugin “cordova-plugin-device”. Adding it to the project
Installing “cordova-plugin-device” for android
Adding cordova-plugin-device to package.json
Discovered saved plugin “cordova-plugin-splashscreen”. Adding it to the project
Installing “cordova-plugin-splashscreen” for android
Adding cordova-plugin-splashscreen to package.json
Discovered saved plugin “cordova-plugin-ionic-webview”. Adding it to the project
Installing “cordova-plugin-ionic-webview” for android
Subproject Path: CordovaLib
Subproject Path: app
Adding cordova-plugin-ionic-webview to package.json
Discovered saved plugin “cordova-plugin-ionic-keyboard”. Adding it to the project
Installing “cordova-plugin-ionic-keyboard” for android
Adding cordova-plugin-ionic-keyboard to package.json
[WARN] cordova-res was not found on your PATH. Please install it globally:npm i -g cordova-res
[WARN] Cannot generate resources without cordova-res installed.
Once installed, you can generate resources with the following command: ionic cordova resources android --force
Then, adding the plugin Firebase
guillaume@dev:~/dev/ionicApp [master|●37✚3…3] % ionic cordova plugin add cordova-plugin-firebase
cordova plugin add cordova-plugin-firebase
Installing “cordova-plugin-firebase” for android
Subproject Path: CordovaLib
Subproject Path: app
Adding cordova-plugin-firebase to package.json
guillaume@dev:~/dev/ionicApp [master|●37✚3…3] % npm install @ionic-native/firebase --save
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/webpack-dev-server/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/watchpack/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/karma/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/@angular/compiler-cli/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
- @ionic-native/firebase@5.16.0
added 1 package from 1 contributor and audited 17421 packages in 9.571s
found 0 vulnerabilities
Then building…
guillaume@dev:~/dev/ionicApp [master|●37✚3…3] % ionic cordova build android
ng run app:ionic-cordova-build --platform=android
chunk {0} 0-es2015.js, 0-es2015.js.map () 13.2 kB [rendered]
(…) ~~~~~~~ truncated before ionic forum limit post size
chunk {77} 77-es2015.js, 77-es2015.js.map () 20.2 kB [rendered]
chunk {common} common-es2015.js, common-es2015.js.map (common) 24.8 kB [rendered]
chunk {cordova} cordova.js, cordova.js.map (cordova) 63.5 kB [entry] [rendered]
chunk {core-js-js} core-js-js-es2015.js, core-js-js-es2015.js.map (core-js-js) 78.7 kB [rendered]
chunk {css-shim-206ea950-3169f23e-js} css-shim-206ea950-3169f23e-js-es2015.js, css-shim-206ea950-3169f23e-js-es2015.js.map (css-shim-206ea950-3169f23e-js) 21.9 kB [rendered]
chunk {dom-96781eef-a2fb04dd-js} dom-96781eef-a2fb04dd-js-es2015.js, dom-96781eef-a2fb04dd-js-es2015.js.map (dom-96781eef-a2fb04dd-js) 19.8 kB [rendered]
chunk {dom-js} dom-js-es2015.js, dom-js-es2015.js.map (dom-js) 20.2 kB [rendered]
chunk {focus-visible-70713a0c-js} focus-visible-70713a0c-js-es2015.js, focus-visible-70713a0c-js-es2015.js.map (focus-visible-70713a0c-js) 2.16 kB [rendered]
chunk {hardware-back-button-5afe3cb0-js} hardware-back-button-5afe3cb0-js-es2015.js, hardware-back-button-5afe3cb0-js-es2015.js.map (hardware-back-button-5afe3cb0-js) 2.07 kB [rendered]
chunk {home-home-module} home-home-module-es2015.js, home-home-module-es2015.js.map (home-home-module) 4.88 kB [rendered]
chunk {index-69c37885-js} index-69c37885-js-es2015.js, index-69c37885-js-es2015.js.map (index-69c37885-js) 37.7 kB [rendered]
chunk {input-shims-a4fc53ac-js} input-shims-a4fc53ac-js-es2015.js, input-shims-a4fc53ac-js-es2015.js.map (input-shims-a4fc53ac-js) 13.5 kB [rendered]
chunk {ios-transition-071bd421-js} ios-transition-071bd421-js-es2015.js, ios-transition-071bd421-js-es2015.js.map (ios-transition-071bd421-js) 26.4 kB [rendered]
chunk {main} main-es2015.js, main-es2015.js.map (main) 22.3 kB [initial] [rendered]
chunk {md-transition-15a81b08-js} md-transition-15a81b08-js-es2015.js, md-transition-15a81b08-js-es2015.js.map (md-transition-15a81b08-js) 3.92 kB [rendered]
chunk {polyfills} polyfills-es2015.js, polyfills-es2015.js.map (polyfills) 278 kB [initial] [rendered]
chunk {runtime} runtime-es2015.js, runtime-es2015.js.map (runtime) 9.72 kB [entry] [rendered]
chunk {shadow-css-4889ae62-23996f3f-js} shadow-css-4889ae62-23996f3f-js-es2015.js, shadow-css-4889ae62-23996f3f-js-es2015.js.map (shadow-css-4889ae62-23996f3f-js) 14.8 kB [rendered]
chunk {status-tap-a0df8284-js} status-tap-a0df8284-js-es2015.js, status-tap-a0df8284-js-es2015.js.map (status-tap-a0df8284-js) 1.8 kB [rendered]
chunk {styles} styles-es2015.js, styles-es2015.js.map (styles) 109 kB [initial] [rendered]
chunk {swipe-back-35ad8e37-js} swipe-back-35ad8e37-js-es2015.js, swipe-back-35ad8e37-js-es2015.js.map (swipe-back-35ad8e37-js) 2.69 kB [rendered]
chunk {swiper-bundle-ccdaac54-js} swiper-bundle-ccdaac54-js-es2015.js, swiper-bundle-ccdaac54-js-es2015.js.map (swiper-bundle-ccdaac54-js) 176 kB [rendered]
chunk {tap-click-ca00ce7f-js} tap-click-ca00ce7f-js-es2015.js, tap-click-ca00ce7f-js-es2015.js.map (tap-click-ca00ce7f-js) 6.38 kB [rendered]
chunk {vendor} vendor-es2015.js, vendor-es2015.js.map (vendor) 4.48 MB [initial] [rendered]
Date: 2019-11-18T14:01:01.295Z - Hash: e0a62d3ad3c29e656378 - Time: 18333mschunk {0} 0-es5.js, 0-es5.js.map () 15.4 kB [rendered]
chunk {1} 1-es5.js, 1-es5.js.map () 15.2 kB [rendered]
chunk {2} 2-es5.js, 2-es5.js.map () 16.3 kB [rendered]
chunk {3} 3-es5.js, 3-es5.js.map () 21.8 kB [rendered]
chunk {4} 4-es5.js, 4-es5.js.map () 18.9 kB [rendered]
chunk {5} 5-es5.js, 5-es5.js.map () 32.5 kB [rendered]
chunk {6} 6-es5.js, 6-es5.js.map () 32.5 kB [rendered]
chunk {7} 7-es5.js, 7-es5.js.map () 70.3 kB [rendered]
chunk {8} 8-es5.js, 8-es5.js.map () 69.1 kB [rendered]
chunk {9} 9-es5.js, 9-es5.js.map () 5.19 kB [rendered]
chunk {10} 10-es5.js, 10-es5.js.map () 5.25 kB [rendered]
chunk {11} 11-es5.js, 11-es5.js.map () 11.3 kB [rendered]
chunk {12} 12-es5.js, 12-es5.js.map () 11.9 kB [rendered]
chunk {13} 13-es5.js, 13-es5.js.map () 4.12 kB [rendered]
chunk {14} 14-es5.js, 14-es5.js.map () 4.12 kB [rendered]
chunk {15} 15-es5.js, 15-es5.js.map () 24.4 kB [rendered]
chunk {16} 16-es5.js, 16-es5.js.map () 24.6 kB [rendered]
chunk {17} 17-es5.js, 17-es5.js.map () 13.2 kB [rendered]
chunk {18} 18-es5.js, 18-es5.js.map () 12.8 kB [rendered]
chunk {19} 19-es5.js, 19-es5.js.map () 9.27 kB [rendered]
chunk {20} 20-es5.js, 20-es5.js.map () 9.4 kB [rendered]
chunk {21} 21-es5.js, 21-es5.js.map () 5.85 kB [rendered]
chunk {22} 22-es5.js, 22-es5.js.map () 5.84 kB [rendered]
chunk {23} 23-es5.js, 23-es5.js.map () 16.9 kB [rendered]
chunk {24} 24-es5.js, 24-es5.js.map () 72.1 kB [rendered]
chunk {25} 25-es5.js, 25-es5.js.map () 71.8 kB [rendered]
chunk {26} 26-es5.js, 26-es5.js.map () 21.2 kB [rendered]
chunk {27} 27-es5.js, 27-es5.js.map () 20.3 kB [rendered]
chunk {28} 28-es5.js, 28-es5.js.map () 4.1 kB [rendered]
chunk {29} 29-es5.js, 29-es5.js.map () 15.1 kB [rendered]
chunk {30} 30-es5.js, 30-es5.js.map () 15.1 kB [rendered]
chunk {31} 31-es5.js, 31-es5.js.map () 15.9 kB [rendered]
chunk {32} 32-es5.js, 32-es5.js.map () 15.7 kB [rendered]
chunk {33} 33-es5.js, 33-es5.js.map () 31.1 kB [rendered]
chunk {34} 34-es5.js, 34-es5.js.map () 30.9 kB [rendered]
chunk {35} 35-es5.js, 35-es5.js.map () 42.8 kB [rendered]
chunk {36} 36-es5.js, 36-es5.js.map () 46.4 kB [rendered]
chunk {37} 37-es5.js, 37-es5.js.map () 14.2 kB [rendered]
chunk {38} 38-es5.js, 38-es5.js.map () 13.9 kB [rendered]
chunk {39} 39-es5.js, 39-es5.js.map () 40.4 kB [rendered]
chunk {40} 40-es5.js, 40-es5.js.map () 40.5 kB [rendered]
chunk {41} 41-es5.js, 41-es5.js.map () 16.8 kB [rendered]
chunk {42} 42-es5.js, 42-es5.js.map () 16.8 kB [rendered]
chunk {43} 43-es5.js, 43-es5.js.map () 45.2 kB [rendered]
chunk {44} 44-es5.js, 44-es5.js.map () 22.2 kB [rendered]
chunk {45} 45-es5.js, 45-es5.js.map () 21.5 kB [rendered]
chunk {46} 46-es5.js, 46-es5.js.map () 12.9 kB [rendered]
chunk {47} 47-es5.js, 47-es5.js.map () 12.9 kB [rendered]
chunk {48} 48-es5.js, 48-es5.js.map () 15 kB [rendered]
chunk {49} 49-es5.js, 49-es5.js.map () 15.2 kB [rendered]
chunk {50} 50-es5.js, 50-es5.js.map () 23.6 kB [rendered]
chunk {51} 51-es5.js, 51-es5.js.map () 25 kB [rendered]
chunk {52} 52-es5.js, 52-es5.js.map () 21.2 kB [rendered]
chunk {53} 53-es5.js, 53-es5.js.map () 21.2 kB [rendered]
chunk {54} 54-es5.js, 54-es5.js.map () 14.8 kB [rendered]
chunk {55} 55-es5.js, 55-es5.js.map () 14.8 kB [rendered]
chunk {56} 56-es5.js, 56-es5.js.map () 7.88 kB [rendered]
chunk {57} 57-es5.js, 57-es5.js.map () 32.8 kB [rendered]
chunk {58} 58-es5.js, 58-es5.js.map () 27.9 kB [rendered]
chunk {59} 59-es5.js, 59-es5.js.map () 25.5 kB [rendered]
chunk {60} 60-es5.js, 60-es5.js.map () 17.2 kB [rendered]
chunk {61} 61-es5.js, 61-es5.js.map () 16.8 kB [rendered]
chunk {62} 62-es5.js, 62-es5.js.map () 27 kB [rendered]
chunk {63} 63-es5.js, 63-es5.js.map () 27 kB [rendered]
chunk {64} 64-es5.js, 64-es5.js.map () 47.2 kB [rendered]
chunk {65} 65-es5.js, 65-es5.js.map () 47.2 kB [rendered]
chunk {66} 66-es5.js, 66-es5.js.map () 10.9 kB [rendered]
chunk {67} 67-es5.js, 67-es5.js.map () 7.75 kB [rendered]
chunk {68} 68-es5.js, 68-es5.js.map () 7.75 kB [rendered]
chunk {69} 69-es5.js, 69-es5.js.map () 16 kB [rendered]
chunk {70} 70-es5.js, 70-es5.js.map () 16.2 kB [rendered]
chunk {71} 71-es5.js, 71-es5.js.map () 2.06 kB [rendered]
chunk {72} 72-es5.js, 72-es5.js.map () 13.9 kB [rendered]
chunk {73} 73-es5.js, 73-es5.js.map () 13.9 kB [rendered]
chunk {74} 74-es5.js, 74-es5.js.map () 20.8 kB [rendered]
chunk {75} 75-es5.js, 75-es5.js.map () 21.3 kB [rendered]
chunk {76} 76-es5.js, 76-es5.js.map () 12.9 kB [rendered]
chunk {77} 77-es5.js, 77-es5.js.map () 12.8 kB [rendered]
chunk {78} 78-es5.js, 78-es5.js.map () 23.3 kB [rendered]
chunk {common} common-es5.js, common-es5.js.map (common) 14.7 kB [rendered]
chunk {cordova} cordova.js, cordova.js.map (cordova) 63.5 kB [entry] [rendered]
chunk {core-js-js} core-js-js-es5.js, core-js-js-es5.js.map (core-js-js) 78.7 kB [rendered]
chunk {css-shim-206ea950-3169f23e-js} css-shim-206ea950-3169f23e-js-es5.js, css-shim-206ea950-3169f23e-js-es5.js.map (css-shim-206ea950-3169f23e-js) 21.9 kB [rendered]
chunk {dom-96781eef-a2fb04dd-js} dom-96781eef-a2fb04dd-js-es5.js, dom-96781eef-a2fb04dd-js-es5.js.map (dom-96781eef-a2fb04dd-js) 27.7 kB [rendered]
chunk {dom-js} dom-js-es5.js, dom-js-es5.js.map (dom-js) 20.2 kB [rendered]
chunk {focus-visible-70713a0c-js} focus-visible-70713a0c-js-es5.js, focus-visible-70713a0c-js-es5.js.map (focus-visible-70713a0c-js) 2.2 kB [rendered]
chunk {hardware-back-button-5afe3cb0-js} hardware-back-button-5afe3cb0-js-es5.js, hardware-back-button-5afe3cb0-js-es5.js.map (hardware-back-button-5afe3cb0-js) 2.88 kB [rendered]
chunk {home-home-module} home-home-module-es5.js, home-home-module-es5.js.map (home-home-module) 5.07 kB [rendered]
chunk {index-69c37885-js} index-69c37885-js-es5.js, index-69c37885-js-es5.js.map (index-69c37885-js) 41.9 kB [rendered]
chunk {input-shims-a4fc53ac-js} input-shims-a4fc53ac-js-es5.js, input-shims-a4fc53ac-js-es5.js.map (input-shims-a4fc53ac-js) 13.5 kB [rendered]
chunk {ios-transition-071bd421-js} ios-transition-071bd421-js-es5.js, ios-transition-071bd421-js-es5.js.map (ios-transition-071bd421-js) 26.6 kB [rendered]
chunk {main} main-es5.js, main-es5.js.map (main) 23.1 kB [initial] [rendered]
chunk {md-transition-15a81b08-js} md-transition-15a81b08-js-es5.js, md-transition-15a81b08-js-es5.js.map (md-transition-15a81b08-js) 3.91 kB [rendered]
chunk {polyfills} polyfills-es5.js, polyfills-es5.js.map (polyfills) 645 kB [initial] [rendered]
chunk {runtime} runtime-es5.js, runtime-es5.js.map (runtime) 9.71 kB [entry] [rendered]
chunk {shadow-css-4889ae62-23996f3f-js} shadow-css-4889ae62-23996f3f-js-es5.js, shadow-css-4889ae62-23996f3f-js-es5.js.map (shadow-css-4889ae62-23996f3f-js) 15.7 kB [rendered]
chunk {status-tap-a0df8284-js} status-tap-a0df8284-js-es5.js, status-tap-a0df8284-js-es5.js.map (status-tap-a0df8284-js) 1.83 kB [rendered]
chunk {styles} styles-es5.js, styles-es5.js.map (styles) 109 kB [initial] [rendered]
chunk {swipe-back-35ad8e37-js} swipe-back-35ad8e37-js-es5.js, swipe-back-35ad8e37-js-es5.js.map (swipe-back-35ad8e37-js) 2.68 kB [rendered]
chunk {swiper-bundle-ccdaac54-js} swiper-bundle-ccdaac54-js-es5.js, swiper-bundle-ccdaac54-js-es5.js.map (swiper-bundle-ccdaac54-js) 210 kB [rendered]
chunk {tap-click-ca00ce7f-js} tap-click-ca00ce7f-js-es5.js, tap-click-ca00ce7f-js-es5.js.map (tap-click-ca00ce7f-js) 6.32 kB [rendered]
chunk {vendor} vendor-es5.js, vendor-es5.js.map (vendor) 4.59 MB [initial] [rendered]
Date: 2019-11-18T14:01:22.744Z - Hash: 965b81e3240bef3b84ad - Time: 21020mscordova build android
Preparing Firebase on Android
Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=/home/guillaume/dev/android (recommended setting)
ANDROID_HOME=/home/guillaume/dev/android (DEPRECATED)
:wrapperBUILD SUCCESSFUL in 0s
1 actionable task: 1 executed
Subproject Path: CordovaLib
Subproject Path: appConfigure project :app
WARNING: Configuration ‘compile’ is obsolete and has been replaced with ‘implementation’ and ‘api’.
It will be removed at the end of 2018. For more information see: Add build dependencies | Android Studio | Android Developers
WARNING: API ‘variant.getAssemble()’ is obsolete and has been replaced with ‘variant.getAssembleProvider()’.
It will be removed at the end of 2019.
For more information, see Task Configuration Avoidance.
To determine what is calling variant.getAssemble(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace.
WARNING: API ‘variantOutput.getProcessResources()’ is obsolete and has been replaced with ‘variantOutput.getProcessResourcesProvider()’.
It will be removed at the end of 2019.
For more information, see Task Configuration Avoidance.
To determine what is calling variantOutput.getProcessResources(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace.
WARNING: API ‘variantOutput.getProcessManifest()’ is obsolete and has been replaced with ‘variantOutput.getProcessManifestProvider()’.
It will be removed at the end of 2019.
For more information, see Task Configuration Avoidance.
To determine what is calling variantOutput.getProcessManifest(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace.
WARNING: API ‘variant.getMergeResources()’ is obsolete and has been replaced with ‘variant.getMergeResourcesProvider()’.
It will be removed at the end of 2019.
For more information, see Task Configuration Avoidance.
To determine what is calling variant.getMergeResources(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace.
WARNING: API ‘variant.getMergeAssets()’ is obsolete and has been replaced with ‘variant.getMergeAssetsProvider()’.
It will be removed at the end of 2019.
For more information, see Task Configuration Avoidance.
To determine what is calling variant.getMergeAssets(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace.
WARNING: API ‘variant.getPackageApplication()’ is obsolete and has been replaced with ‘variant.getPackageApplicationProvider()’.
It will be removed at the end of 2019.
For more information, see Task Configuration Avoidance.
To determine what is calling variant.getPackageApplication(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace.
WARNING: API ‘variant.getExternalNativeBuildTasks()’ is obsolete and has been replaced with ‘variant.getExternalNativeBuildProviders()’.
It will be removed at the end of 2019.
For more information, see Task Configuration Avoidance.
To determine what is calling variant.getExternalNativeBuildTasks(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace.Task :app:preBuild UP-TO-DATE
Task :CordovaLib:preBuild UP-TO-DATE
Task :CordovaLib:preDebugBuild UP-TO-DATE
Task :CordovaLib:checkDebugManifest
Task :CordovaLib:processDebugManifest
Task :app:preDebugBuild FAILEDFAILURE: Build failed with an exception.
- What went wrong:
Failed to capture fingerprint of input files for task ‘:app:preDebugBuild’ property ‘compileManifests’ during up-to-date check.The library com.google.android.gms:play-services-measurement-base is being requested by various other libraries at [[17.0.0,17.0.0], [17.2.1,17.2.1]], but resolves to 17.2.1. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.Get more help at https://help.gradle.org
BUILD FAILED in 1s
3 actionable tasks: 3 executed
/home/guillaume/dev/ionicApp/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
- What went wrong:
Failed to capture fingerprint of input files for task ‘:app:preDebugBuild’ property ‘compileManifests’ during up-to-date check.The library com.google.android.gms:play-services-measurement-base is being requested by various other libraries at [[17.0.0,17.0.0], [17.2.1,17.2.1]], but resolves to 17.2.1. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.Get more help at https://help.gradle.org
BUILD FAILED in 1s
[ERROR] An error occurred while running subprocess cordova.cordova build android exited with exit code 1. Re-running this command with the --verbose flag may provide more information.
Any help will be appreciated