1 Reply Latest reply on Feb 12, 2018 2:38 AM by vincentt81762959

    Android build fails but log shows successful build

    vincentt81762959 Level 1

      Since updating my my Android app to build with the new cli-8.0.0 it fails to build. When I look in the log, it doesn't show any errors and build was successfull.

      Any ideas what's causing this behavior?

       

      Appid: 1484253

      --------------------------------------------------------------------------------

      COMPILE OUTPUT

      --------------------------------------------------------------------------------

      studio

      Configuration on demand is an incubating feature.

      :wrapper

       

      BUILD SUCCESSFUL in 0s

      1 actionable task: 1 executed

      Subproject Path: CordovaLib

      Subproject Path: app

      Configuration on demand is an incubating feature.

      publishNonDefault is deprecated and has no effect anymore. All variants are now published.

      Configuration 'compile' in project ':app' is deprecated. Use 'implementation' instead.

      The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.

      at build_qth7rb2qtk4s7n91silp2xc1.run(/app/build.gradle:145)

      registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)

      registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)

      :CordovaLib:preBuild UP-TO-DATE

      :CordovaLib:preDebugBuild UP-TO-DATE

      :CordovaLib:compileDebugAidl

      :CordovaLib:compileDebugRenderscript

      :CordovaLib:checkDebugManifest

      :CordovaLib:generateDebugBuildConfig

      :CordovaLib:prepareLintJar

      :CordovaLib:generateDebugResValues

      :CordovaLib:generateDebugResources

      :CordovaLib:packageDebugResources

      :CordovaLib:platformAttrExtractor

      :CordovaLib:processDebugManifest

      :CordovaLib:javaPreCompileDebug

      :CordovaLib:processDebugJavaRes NO-SOURCE

      :app:preBuild UP-TO-DATE

      :app:preDebugBuild

      Download https://maven.google.com/com/google/android/gms/play-services-analytics-impl/11.0.1/play-s ervices-analytics-impl-11.0.1.pom

      Download https://maven.google.com/com/google/android/gms/play-services-tagmanager-v4-impl/11.0.1/pl ay-services-tagmanager-v4-impl-11.0.1.pom

      :app:compileDebugAidl

      :CordovaLib:packageDebugRenderscript NO-SOURCE

      :app:compileDebugRenderscript

      :app:checkDebugManifest

      :app:generateDebugBuildConfig

      :app:prepareLintJar

      :app:generateDebugResValues

      :app:generateDebugResources

      :app:processDebugGoogleServices

      Parsing json file: /app/google-services.json

      :app:mergeDebugResources

      :app:createDebugCompatibleScreenManifests

      :app:processDebugManifest

      :app:splitsDiscoveryTaskDebug

      :app:compileDebugNdk NO-SOURCE

      :CordovaLib:mergeDebugShaders

      :CordovaLib:compileDebugShaders

      :CordovaLib:generateDebugAssets

      :CordovaLib:mergeDebugAssets

      :app:mergeDebugShaders

      :app:compileDebugShaders

      :app:generateDebugAssets

      :app:mergeDebugAssets

      :CordovaLib:compileDebugNdk NO-SOURCE

      :CordovaLib:mergeDebugJniLibFolders

      :CordovaLib:transformNativeLibsWithMergeJniLibsForDebug

      :CordovaLib:transformNativeLibsWithIntermediateJniLibsForDebug

      :app:mergeDebugJniLibFolders

      :app:processDebugJavaRes NO-SOURCE

      :app:validateSigningDebug

      :CordovaLib:processDebugResources

      :CordovaLib:generateDebugSources

      :CordovaLib:compileDebugJavaWithJavacNote: Some input files use or override a deprecated API.

      Note: Recompile with -Xlint:deprecation for details.

       

      :CordovaLib:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug

      :app:processDebugResources

      :app:generateDebugSources

      :app:javaPreCompileDebug

      :app:compileDebugJavaWithJavacNote: Some input files use or override a deprecated API.

      Note: Recompile with -Xlint:deprecation for details.

      Note: Some input files use unchecked or unsafe operations.

      Note: Recompile with -Xlint:unchecked for details.

       

      :app:compileDebugSources

      :app:transformClassesWithStackFramesFixerForDebug

      :app:transformClassesWithDesugarForDebug

      :app:transformClassesWithDexBuilderForDebug

      :app:transformClassesWithMultidexlistForDebug

      :app:transformDexArchiveWithDexMergerForDebug

      :app:transformNativeLibsWithMergeJniLibsForDebug

      :app:transformResourcesWithMergeJavaResForDebug

      :app:packageDebug

      :app:assembleDebug

      :app:cdvBuildDebug

       

      BUILD SUCCESSFUL in 12s

      47 actionable tasks: 47 executed

      Built the following apk(s):

      /app/build/outputs/apk/debug/app-debug.apk