{"action":"closed","issue":{"url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/755","repository_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase","labels_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/755/labels{/name}","comments_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/755/comments","events_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/755/events","html_url":"https://github.com/arnesson/cordova-plugin-firebase/issues/755","id":336794266,"node_id":"MDU6SXNzdWUzMzY3OTQyNjY=","number":755,"title":"Build fails, could not resolve all files for configuration ':app:debugCompileClasspath'","user":{"login":"zcoffin86","id":32465097,"node_id":"MDQ6VXNlcjMyNDY1MDk3","avatar_url":"https://avatars1.githubusercontent.com/u/32465097?v=4","gravatar_id":"","url":"https://api.github.com/users/zcoffin86","html_url":"https://github.com/zcoffin86","followers_url":"https://api.github.com/users/zcoffin86/followers","following_url":"https://api.github.com/users/zcoffin86/following{/other_user}","gists_url":"https://api.github.com/users/zcoffin86/gists{/gist_id}","starred_url":"https://api.github.com/users/zcoffin86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zcoffin86/subscriptions","organizations_url":"https://api.github.com/users/zcoffin86/orgs","repos_url":"https://api.github.com/users/zcoffin86/repos","events_url":"https://api.github.com/users/zcoffin86/events{/privacy}","received_events_url":"https://api.github.com/users/zcoffin86/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-06-28T21:57:18Z","updated_at":"2018-08-30T03:08:41Z","closed_at":"2018-08-30T03:08:40Z","author_association":"NONE","body":"After installing firebase plugin I'm getting this build error. Cordova CLI 8, android platforms tested: 7.1.0, 7.0.0, 6.4.0. After removing firebase plugin build succeeds. Below is terminal log of a test project, but same behavior noticed in pre-existing apps that were working in fact earlier today. I tried adding and changing things in build.gradle buildscript repositories and allprojects repositories but to no avail. TIA\r\n\r\n> zcoffin@DESKTOP-PUBHRS2 MINGW64 ~/Documents/switchboard (master)\r\n> $ cordova create firebasetest\r\n> Creating a new cordova project.\r\n> \r\n> zcoffin@DESKTOP-PUBHRS2 MINGW64 ~/Documents/switchboard (master)\r\n> $ cd firebasetest\r\n> \r\n> zcoffin@DESKTOP-PUBHRS2 MINGW64 ~/Documents/switchboard/firebasetest (master)\r\n> $ cordova plugin add cordova-plugin-firebase\r\n> Adding cordova-plugin-firebase to package.json\r\n> Saved plugin info for \"cordova-plugin-firebase\" to config.xml\r\n> \r\n> zcoffin@DESKTOP-PUBHRS2 MINGW64 ~/Documents/switchboard/firebasetest (master)\r\n> $ cordova platform add android@7.1.0\r\n> Using cordova-fetch for cordova-android@7.1.0\r\n> Adding android project...\r\n> Creating Cordova project for the Android platform:\r\n>         Path: platforms\\android\r\n>         Package: io.cordova.hellocordova\r\n>         Name: HelloCordova\r\n>         Activity: MainActivity\r\n>         Android target: android-27\r\n> Subproject Path: CordovaLib\r\n> Subproject Path: app\r\n> Android project created with cordova-android@7.1.0\r\n> Android Studio project detected\r\n> Android Studio project detected\r\n> Installing \"cordova-plugin-firebase\" for android\r\n> Subproject Path: CordovaLib\r\n> Subproject Path: app\r\n> Discovered plugin \"cordova-plugin-whitelist\" in config.xml. Adding it to the project\r\n> Installing \"cordova-plugin-whitelist\" for android\r\n> \r\n>                This 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.\r\n> \r\n> Adding cordova-plugin-whitelist to package.json\r\n> Saved plugin info for \"cordova-plugin-whitelist\" to config.xml\r\n> Preparing Firebase on Android\r\n> --save flag or autosave detected\r\n> Saving android@~7.1.0 into config.xml file ...\r\n> \r\n> zcoffin@DESKTOP-PUBHRS2 MINGW64 ~/Documents/switchboard/firebasetest (master)\r\n> $ cordova run android\r\n> Android Studio project detected\r\n> Preparing Firebase on Android\r\n> ANDROID_HOME=C:\\Users\\zcoffin\\AppData\\Local\\Android\\Sdk\r\n> JAVA_HOME=C:\\Program Files\\Java\\jdk1.8.0_144\r\n> studio\r\n> :wrapper\r\n> \r\n> BUILD SUCCESSFUL in 2s\r\n> 1 actionable task: 1 executed\r\n> Subproject Path: CordovaLib\r\n> Subproject Path: app\r\n> publishNonDefault is deprecated and has no effect anymore. All variants are now published.\r\n> Configuration 'compile' in project ':app' is deprecated. Use 'implementation' instead.\r\n> The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.\r\n>         at build_9xxnqqha5bkaipei78uv1fe7e.run(C:\\Users\\zcoffin\\Documents\\switchboard\\firebasetest\\platforms\\android\\app\\build.gradle:144)\r\n> :CordovaLib:preBuild UP-TO-DATE\r\n> :CordovaLib:preDebugBuild UP-TO-DATE\r\n> :CordovaLib:compileDebugAidl\r\n> :CordovaLib:compileDebugRenderscript\r\n> :CordovaLib:checkDebugManifest\r\n> :CordovaLib:generateDebugBuildConfig\r\n> :CordovaLib:prepareLintJar\r\n> :CordovaLib:generateDebugResValues\r\n> :CordovaLib:generateDebugResources\r\n> :CordovaLib:packageDebugResources\r\n> :CordovaLib:platformAttrExtractor\r\n> :CordovaLib:processDebugManifest\r\n> :CordovaLib:javaPreCompileDebug\r\n> :CordovaLib:processDebugJavaRes NO-SOURCE\r\n> :app:preBuild UP-TO-DATE\r\n> :app:preDebugBuild FAILED\r\n> \r\n> FAILURE: Build failed with an exception.\r\n> \r\n> * What went wrong:\r\n> Could not resolve all files for configuration ':app:debugCompileClasspath'.\r\n> > Could not find play-services-phenotype.aar (com.google.android.gms:play-services-phenotype:15.0.1).\r\n>   Searched in the following locations:\r\n>       https://jcenter.bintray.com/com/google/android/gms/play-services-phenotype/15.0.1/play-services-phenotype-15.0.1.aar\r\n> > Could not find play-services-base.aar (com.google.android.gms:play-services-base:15.0.1).\r\n>   Searched in the following locations:\r\n>       https://jcenter.bintray.com/com/google/android/gms/play-services-base/15.0.1/play-services-base-15.0.1.aar\r\n> > Could not find play-services-tasks.aar (com.google.android.gms:play-services-tasks:15.0.1).\r\n>   Searched in the following locations:\r\n>       https://jcenter.bintray.com/com/google/android/gms/play-services-tasks/15.0.1/play-services-tasks-15.0.1.aar\r\n> > Could not find play-services-basement.aar (com.google.android.gms:play-services-basement:15.0.1).\r\n>   Searched in the following locations:\r\n>       https://jcenter.bintray.com/com/google/android/gms/play-services-basement/15.0.1/play-services-basement-15.0.1.aar\r\n> \r\n> * Try:\r\n> Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\r\n> \r\n> * Get more help at https://help.gradle.org\r\n> \r\n> BUILD FAILED in 8s\r\n> 11 actionable tasks: 11 executed\r\n> (node:19552) UnhandledPromiseRejectionWarning: Error: cmd: Command failed with exit code 1 Error output:\r\n> FAILURE: Build failed with an exception.\r\n> \r\n> * What went wrong:\r\n> Could not resolve all files for configuration ':app:debugCompileClasspath'.\r\n> > Could not find play-services-phenotype.aar (com.google.android.gms:play-services-phenotype:15.0.1).\r\n>   Searched in the following locations:\r\n>       https://jcenter.bintray.com/com/google/android/gms/play-services-phenotype/15.0.1/play-services-phenotype-15.0.1.aar\r\n> > Could not find play-services-base.aar (com.google.android.gms:play-services-base:15.0.1).\r\n>   Searched in the following locations:\r\n>       https://jcenter.bintray.com/com/google/android/gms/play-services-base/15.0.1/play-services-base-15.0.1.aar\r\n> > Could not find play-services-tasks.aar (com.google.android.gms:play-services-tasks:15.0.1).\r\n>   Searched in the following locations:\r\n>       https://jcenter.bintray.com/com/google/android/gms/play-services-tasks/15.0.1/play-services-tasks-15.0.1.aar\r\n> > Could not find play-services-basement.aar (com.google.android.gms:play-services-basement:15.0.1).\r\n>   Searched in the following locations:\r\n>       https://jcenter.bintray.com/com/google/android/gms/play-services-basement/15.0.1/play-services-basement-15.0.1.aar\r\n> \r\n> * Try:\r\n> Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\r\n> \r\n> * Get more help at https://help.gradle.org\r\n> \r\n> BUILD FAILED in 8s\r\n>     at ChildProcess.whenDone (C:\\Users\\zcoffin\\Documents\\switchboard\\firebasetest\\platforms\\android\\cordova\\node_modules\\cordova-common\\src\\superspawn.js:169:23)\r\n>     at ChildProcess.emit (events.js:182:13)\r\n>     at maybeClose (internal/child_process.js:961:16)\r\n>     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:5)\r\n> (node:19552) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)\r\n> (node:19552) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.\r\n> "}}
{"actor":{"display_login":"soumak77"}}