cordova.cmd build android --debug
Android Studio project detected
Preparing Firebase on Android
ANDROID_HOME=AppData\Local\Android\sdk
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_111
studio
Subproject Path: CordovaLib
Subproject Path: app
publishNonDefault is deprecated and has no effect anymore. All variants are now
published.
Configuration ‘compile’ in project ‘:app’ is deprecated. Use ‘implementation’ in
stead.
The Task.leftShift(Closure) method has been deprecated and is scheduled to be re
moved in Gradle 5.0. Please use Task.doLast(Action) instead.
at build_xqshx2y4ga7zp1u5rlgc88qp.run(I:\platforms\android\app\build.gradle:144)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollec
tion)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollec
tion)
:CordovaLib:preBuild UP-TO-DATE
:CordovaLib:preDebugBuild UP-TO-DATE
:CordovaLib:compileDebugAidl UP-TO-DATE
:CordovaLib:compileDebugRenderscript UP-TO-DATE
:CordovaLib:checkDebugManifest UP-TO-DATE
:CordovaLib:generateDebugBuildConfig UP-TO-DATE
:CordovaLib:prepareLintJar UP-TO-DATE
:CordovaLib:generateDebugResValues UP-TO-DATE
:CordovaLib:generateDebugResources UP-TO-DATE
:CordovaLib:packageDebugResources UP-TO-DATE
:CordovaLib:platformAttrExtractor UP-TO-DATE
:CordovaLib:processDebugManifest UP-TO-DATE
:CordovaLib:processDebugResources UP-TO-DATE
:CordovaLib:generateDebugSources UP-TO-DATE
:CordovaLib:javaPreCompileDebug UP-TO-DATE
:CordovaLib:compileDebugJavaWithJavac UP-TO-DATE
:CordovaLib:processDebugJavaRes NO-SOURCE
:CordovaLib:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-T
O-DATE
:app:preBuild UP-TO-DATE
:app:preDebugBuild FAILED
14 actionable tasks: 1 executed, 13 up-to-date
FAILURE: Build failed with an exception.
-
What went wrong:
The library com.google.android.gms:play-services-measurement-base is being reque
sted by various other libraries at [[17.5.0,17.5.0], [17.0.0,17.0.0]], but resol
ves to 17.5.0. Disable the plugin and check your dependencies tree using ./gradl
ew :app:dependencies. -
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
BUILD FAILED in 3s
(node:3684) UnhandledPromiseRejectionWarning: Error: cmd: Command failed with ex
it code 1 Error output:
FAILURE: Build failed with an exception.
-
What went wrong:
The library com.google.android.gms:play-services-measurement-base is being reque
sted by various other libraries at [[17.5.0,17.5.0], [17.0.0,17.0.0]], but resol
ves to 17.5.0. Disable the plugin and check your dependencies tree using ./gradl
ew :app:dependencies. -
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
BUILD FAILED in 3s
Picked up _JAVA_OPTIONS: -Xmx512M
at ChildProcess.whenDone (I:\platforms\androi
d\cordova\node_modules\cordova-common\src\superspawn.js:169:23)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
(node:3684) 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(). To termina
te the node process on unhandled promise rejection, use the CLI flag --unhandle d-rejections=strict
(node:3684) [DEP0018] DeprecationWarning: Unhandled promise rejections are depre
cated. In the future, promise rejections that are not handled will terminate the
Node.js process with a non-zero exit code.