I'm getting an error where gradle is saying "Task has not declared any outputs."
Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)
build log:
Tasks to be executed: [task ':app:preBuild', task ':app:preDebugBuild', task ':app:compileDebugAidl', task ':app:compileDebugRenderscript', task ':app:checkDebugManifest', task ':app:generateDebugBuildConfig', task ':app:prepareLintJar', task ':app:generateDebugResValues', task ':app:generateDebugResources', task ':app:processDebugGoogleServices', task ':app:mergeDebugResources', task ':app:createDebugCompatibleScreenManifests', task ':app:processDebugManifest', task ':app:splitsDiscoveryTaskDebug', task ':app:processDebugResources', task ':app:generateDebugSources', task ':app:javaPreCompileDebug', task ':app:compileDebugJavaWithJavac', task ':app:compileDebugNdk', task ':app:compileDebugSources', task ':app:mergeDebugShaders', task ':app:compileDebugShaders', task ':app:generateDebugAssets', task ':app:mergeDebugAssets', task ':app:transformClassesWithDexBuilderForDebug', task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug', task ':app:transformDexArchiveWithDexMergerForDebug', task ':app:mergeDebugJniLibFolders', task ':app:transformNativeLibsWithMergeJniLibsForDebug', task ':app:processDebugJavaRes', task ':app:transformResourcesWithMergeJavaResForDebug', task ':app:validateSigningDebug', task ':app:packageDebug', task ':app:assembleDebug', task ':app:preReleaseBuild', task ':app:compileReleaseAidl', task ':app:compileReleaseRenderscript', task ':app:checkReleaseManifest', task ':app:generateReleaseBuildConfig', task ':app:generateReleaseResValues', task ':app:generateReleaseResources', task ':app:processReleaseGoogleServices', task ':app:mergeReleaseResources', task ':app:createReleaseCompatibleScreenManifests', task ':app:processReleaseManifest', task ':app:splitsDiscoveryTaskRelease', task ':app:processReleaseResources', task ':app:generateReleaseSources', task ':app:javaPreCompileRelease', task ':app:compileReleaseJavaWithJavac', task ':app:compileReleaseNdk', task ':app:compileReleaseSources', task ':app:mergeReleaseShaders', task ':app:compileReleaseShaders', task ':app:generateReleaseAssets', task ':app:mergeReleaseAssets', task ':app:transformClassesWithPreDexForRelease', task ':app:transformDexWithDexForRelease', task ':app:mergeReleaseJniLibFolders', task ':app:transformNativeLibsWithMergeJniLibsForRelease', task ':app:processReleaseJavaRes', task ':app:transformResourcesWithMergeJavaResForRelease', task ':app:packageRelease', task ':app:lintVitalRelease', task ':app:assembleRelease', task ':app:assemble', task ':app:androidFindbugs']
Creating new cache for resourceHashesCache, path /var/lib/jenkins/workspace/android_test/.gradle/4.1/fileHashes/resourceHashesCache.bin, access org.gradle.cache.internal.DefaultCacheAccess@2370a361
Creating new cache for fileSnapshots, path /var/lib/jenkins/workspace/android_test/.gradle/4.1/taskHistory/fileSnapshots.bin, access org.gradle.cache.internal.DefaultCacheAccess@57360559
Creating new cache for taskHistory, path /var/lib/jenkins/workspace/android_test/.gradle/4.1/taskHistory/taskHistory.bin, access org.gradle.cache.internal.DefaultCacheAccess@57360559
:app:preBuild (Thread[Daemon worker,5,main]) started.
:app:preBuild
Skipping task ':app:preBuild' as it has no actions.
:app:preBuild UP-TO-DATE
:app:preBuild (Thread[Daemon worker,5,main]) completed. Took 0.031 secs.
:app:preDebugBuild (Thread[Daemon worker,5,main]) started.
:app:preDebugBuild
Putting task artifact state for task ':app:preDebugBuild' into context took 0.008 secs.
Creating new cache for metadata-2.23/module-artifacts, path /var/lib/jenkins/.gradle/caches/modules-2/metadata-2.23/module-artifacts.bin, access org.gradle.cache.internal.DefaultCacheAccess@64ac6f5f
Skipping task ':app:preDebugBuild' as it is up-to-date (took 1.043 secs).
:app:preDebugBuild UP-TO-DATE
:app:preDebugBuild (Thread[Daemon worker,5,main]) completed. Took 1.053 secs.
:app:compileDebugAidl (Thread[Daemon worker,5,main]) started.
:app:compileDebugAidl
Putting task artifact state for task ':app:compileDebugAidl' into context took 0.014 secs.
Skipping task ':app:compileDebugAidl' as it is up-to-date (took 0.029 secs).
:app:compileDebugAidl UP-TO-DATE
:app:compileDebugAidl (Thread[Daemon worker,5,main]) completed. Took 0.049 secs.
:app:compileDebugRenderscript (Thread[Daemon worker,5,main]) started.
:app:compileDebugRenderscript
Putting task artifact state for task ':app:compileDebugRenderscript' into context took 0.001 secs.
Skipping task ':app:compileDebugRenderscript' as it is up-to-date (took 0.023 secs).
:app:compileDebugRenderscript UP-TO-DATE
:app:compileDebugRenderscript (Thread[Daemon worker,5,main]) completed. Took 0.027 secs.
:app:checkDebugManifest (Thread[Daemon worker,5,main]) started.
:app:checkDebugManifest
Putting task artifact state for task ':app:checkDebugManifest' into context took 0.001 secs.
Skipping task ':app:checkDebugManifest' as it is up-to-date (took 0.001 secs).
:app:checkDebugManifest UP-TO-DATE
:app:checkDebugManifest (Thread[Daemon worker,5,main]) completed. Took 0.002 secs.
:app:generateDebugBuildConfig (Thread[Daemon worker,5,main]) started.
:app:generateDebugBuildConfig
Putting task artifact state for task ':app:generateDebugBuildConfig' into context took 0.001 secs.
Skipping task ':app:generateDebugBuildConfig' as it is up-to-date (took 0.008 secs).
:app:generateDebugBuildConfig UP-TO-DATE
:app:generateDebugBuildConfig (Thread[Daemon worker,5,main]) completed. Took 0.01 secs.
:app:prepareLintJar (Thread[Daemon worker,5,main]) started.
:app:prepareLintJar
Putting task artifact state for task ':app:prepareLintJar' into context took 0.0 secs.
Skipping task ':app:prepareLintJar' as it is up-to-date (took 0.004 secs).
:app:prepareLintJar UP-TO-DATE
:app:prepareLintJar (Thread[Daemon worker,5,main]) completed. Took 0.004 secs.
:app:generateDebugResValues (Thread[Daemon worker,5,main]) started.
:app:generateDebugResValues
Putting task artifact state for task ':app:generateDebugResValues' into context took 0.0 secs.
Skipping task ':app:generateDebugResValues' as it is up-to-date (took 0.003 secs).
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResValues (Thread[Daemon worker,5,main]) completed. Took 0.003 secs.
:app:generateDebugResources (Thread[Daemon worker,5,main]) started.
:app:generateDebugResources
Skipping task ':app:generateDebugResources' as it has no actions.
:app:generateDebugResources UP-TO-DATE
:app:generateDebugResources (Thread[Daemon worker,5,main]) completed. Took 0.001 secs.
:app:processDebugGoogleServices (Thread[Daemon worker,5,main]) started.
:app:processDebugGoogleServices
Putting task artifact state for task ':app:processDebugGoogleServices' into context took 0.001 secs.
Executing task ':app:processDebugGoogleServices' (up-to-date check took 0.0 secs) due to:
Task has not declared any outputs.
Parsing json file: /var/lib/jenkins/workspace/android_test/app/google-services.json
:app:processDebugGoogleServices (Thread[Daemon worker,5,main]) completed. Took 0.023 secs.
:app:mergeDebugResources (Thread[Daemon worker,5,main]) started.
:app:mergeDebugResources
Putting task artifact state for task ':app:mergeDebugResources' into context took 0.001 secs.
Skipping task ':app:mergeDebugResources' as it is up-to-date (took 0.356 secs).
:app:mergeDebugResources UP-TO-DATE
:app:mergeDebugResources (Thread[Daemon worker,5,main]) completed. Took 0.361 secs.
:app:createDebugCompatibleScreenManifests (Thread[Daemon worker,5,main]) started.
:app:createDebugCompatibleScreenManifests
Putting task artifact state for task ':app:createDebugCompatibleScreenManifests' into context took 0.001 secs.
Skipping task ':app:createDebugCompatibleScreenManifests' as it is up-to-date (took 0.01 secs).
:app:createDebugCompatibleScreenManifests UP-TO-DATE
:app:createDebugCompatibleScreenManifests (Thread[Daemon worker,5,main]) completed. Took 0.011 secs.
:app:processDebugManifest (Thread[Daemon worker,5,main]) started.
:app:processDebugManifest
Putting task artifact state for task ':app:processDebugManifest' into context took 0.0 secs.
Skipping task ':app:processDebugManifest' as it is up-to-date (took 0.031 secs).
:app:processDebugManifest UP-TO-DATE
:app:processDebugManifest (Thread[Daemon worker,5,main]) completed. Took 0.033 secs.
:app:splitsDiscoveryTaskDebug (Thread[Daemon worker,5,main]) started.
:app:splitsDiscoveryTaskDebug
Putting task artifact state for task ':app:splitsDiscoveryTaskDebug' into context took 0.001 secs.
Skipping task ':app:splitsDiscoveryTaskDebug' as it is up-to-date (took 0.002 secs).
:app:splitsDiscoveryTaskDebug UP-TO-DATE
:app:splitsDiscoveryTaskDebug (Thread[Daemon worker,5,main]) completed. Took 0.003 secs.
:app:processDebugResources (Thread[Daemon worker,5,main]) started.
:app:processDebugResources
Putting task artifact state for task ':app:processDebugResources' into context took 0.0 secs.
Skipping task ':app:processDebugResources' as it is up-to-date (took 0.09 secs).
:app:processDebugResources UP-TO-DATE
:app:processDebugResources (Thread[Daemon worker,5,main]) completed. Took 0.092 secs.
:app:generateDebugSources (Thread[Daemon worker,5,main]) started.
:app:generateDebugSources
Skipping task ':app:generateDebugSources' as it has no actions.
:app:generateDebugSources UP-TO-DATE
:app:generateDebugSources (Thread[Daemon worker,5,main]) completed. Took 0.0 secs.
:app:javaPreCompileDebug (Thread[Daemon worker,5,main]) started.
:app:javaPreCompileDebug
Putting task artifact state for task ':app:javaPreCompileDebug' into context took 0.0 secs.
Skipping task ':app:javaPreCompileDebug' as it is up-to-date (took 0.065 secs).
:app:javaPreCompileDebug UP-TO-DATE
:app:javaPreCompileDebug (Thread[Daemon worker,5,main]) completed. Took 0.066 secs.
:app:compileDebugJavaWithJavac (Thread[Daemon worker,5,main]) started.
:app:compileDebugJavaWithJavac
Putting task artifact state for task ':app:compileDebugJavaWithJavac' into context took 0.004 secs.
file or directory '/var/lib/jenkins/workspace/android_test/app/src/debug/java', not found
Skipping task ':app:compileDebugJavaWithJavac' as it is up-to-date (took 0.071 secs).
:app:compileDebugJavaWithJavac UP-TO-DATE
:app:compileDebugJavaWithJavac (Thread[Daemon worker,5,main]) completed. Took 0.087 secs.
:app:compileDebugNdk (Thread[Daemon worker,5,main]) started.
:app:compileDebugNdk
Putting task artifact state for task ':app:compileDebugNdk' into context took 0.0 secs.
Skipping task ':app:compileDebugNdk' as it has no source files and no previous output files.
:app:compileDebugNdk NO-SOURCE
:app:compileDebugNdk (Thread[Daemon worker,5,main]) completed. Took 0.002 secs.
:app:compileDebugSources (Thread[Daemon worker,5,main]) started.
:app:compileDebugSources
Skipping task ':app:compileDebugSources' as it has no actions.
:app:compileDebugSources UP-TO-DATE
:app:compileDebugSources (Thread[Daemon worker,5,main]) completed. Took 0.001 secs.
:app:mergeDebugShaders (Thread[Daemon worker,5,main]) started.
:app:mergeDebugShaders
Putting task artifact state for task ':app:mergeDebugShaders' into context took 0.004 secs.
Skipping task ':app:mergeDebugShaders' as it is up-to-date (took 0.009 secs).
:app:mergeDebugShaders UP-TO-DATE
:app:mergeDebugShaders (Thread[Daemon worker,5,main]) completed. Took 0.013 secs.
:app:compileDebugShaders (Thread[Daemon worker,5,main]) started.
:app:compileDebugShaders
Putting task artifact state for task ':app:compileDebugShaders' into context took 0.001 secs.
Skipping task ':app:compileDebugShaders' as it is up-to-date (took 0.004 secs).
:app:compileDebugShaders UP-TO-DATE
:app:compileDebugShaders (Thread[Daemon worker,5,main]) completed. Took 0.006 secs.
:app:generateDebugAssets (Thread[Daemon worker,5,main]) started.
:app:generateDebugAssets
Skipping task ':app:generateDebugAssets' as it has no actions.
:app:generateDebugAssets UP-TO-DATE
:app:generateDebugAssets (Thread[Daemon worker,5,main]) completed. Took 0.0 secs.
:app:mergeDebugAssets (Thread[Daemon worker,5,main]) started.
:app:mergeDebugAssets
Putting task artifact state for task ':app:mergeDebugAssets' into context took 0.008 secs.
Skipping task ':app:mergeDebugAssets' as it is up-to-date (took 0.024 secs).
:app:mergeDebugAssets UP-TO-DATE
:app:mergeDebugAssets (Thread[Daemon worker,5,main]) completed. Took 0.034 secs.
:app:transformClassesWithDexBuilderForDebug (Thread[Daemon worker,5,main]) started.
:app:transformClassesWithDexBuilderForDebug
Putting task artifact state for task ':app:transformClassesWithDexBuilderForDebug' into context took 0.0 secs.
Skipping task ':app:transformClassesWithDexBuilderForDebug' as it is up-to-date (took 0.164 secs).
:app:transformClassesWithDexBuilderForDebug UP-TO-DATE
:app:transformClassesWithDexBuilderForDebug (Thread[Daemon worker,5,main]) completed. Took 0.165 secs.
:app:transformDexArchiveWithExternalLibsDexMergerForDebug (Thread[Daemon worker,5,main]) started.
:app:transformDexArchiveWithExternalLibsDexMergerForDebug
Putting task artifact state for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug' into context took 0.0 secs.
Skipping task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug' as it is up-to-date (took 0.021 secs).
:app:transformDexArchiveWithExternalLibsDexMergerForDebug UP-TO-DATE
:app:transformDexArchiveWithExternalLibsDexMergerForDebug (Thread[Daemon worker,5,main]) completed. Took 0.022 secs.
:app:transformDexArchiveWithDexMergerForDebug (Thread[Daemon worker,5,main]) started.
:app:transformDexArchiveWithDexMergerForDebug
Putting task artifact state for task ':app:transformDexArchiveWithDexMergerForDebug' into context took 0.0 secs.
Skipping task ':app:transformDexArchiveWithDexMergerForDebug' as it is up-to-date (took 0.023 secs).
:app:transformDexArchiveWithDexMergerForDebug UP-TO-DATE
:app:transformDexArchiveWithDexMergerForDebug (Thread[Daemon worker,5,main]) completed. Took 0.024 secs.
:app:mergeDebugJniLibFolders (Thread[Daemon worker,5,main]) started.
:app:mergeDebugJniLibFolders
Putting task artifact state for task ':app:mergeDebugJniLibFolders' into context took 0.013 secs.
Skipping task ':app:mergeDebugJniLibFolders' as it is up-to-date (took 0.004 secs).
:app:mergeDebugJniLibFolders UP-TO-DATE
:app:mergeDebugJniLibFolders (Thread[Daemon worker,5,main]) completed. Took 0.017 secs.
:app:transformNativeLibsWithMergeJniLibsForDebug (Thread[Daemon worker,5,main]) started.
:app:transformNativeLibsWithMergeJniLibsForDebug
Putting task artifact state for task ':app:transformNativeLibsWithMergeJniLibsForDebug' into context took 0.0 secs.
Skipping task ':app:transformNativeLibsWithMergeJniLibsForDebug' as it is up-to-date (took 0.035 secs).
:app:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
:app:transformNativeLibsWithMergeJniLibsForDebug (Thread[Daemon worker,5,main]) completed. Took 0.037 secs.
:app:processDebugJavaRes (Thread[Daemon worker,5,main]) started.
:app:processDebugJavaRes
Putting task artifact state for task ':app:processDebugJavaRes' into context took 0.0 secs.
Skipping task ':app:processDebugJavaRes' as it has no source files and no previous output files.
:app:processDebugJavaRes NO-SOURCE
:app:processDebugJavaRes (Thread[Daemon worker,5,main]) completed. Took 0.001 secs.
:app:transformResourcesWithMergeJavaResForDebug (Thread[Daemon worker,5,main]) started.
:app:transformResourcesWithMergeJavaResForDebug
Putting task artifact state for task ':app:transformResourcesWithMergeJavaResForDebug' into context took 0.0 secs.
Skipping task ':app:transformResourcesWithMergeJavaResForDebug' as it is up-to-date (took 0.031 secs).
:app:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
:app:transformResourcesWithMergeJavaResForDebug (Thread[Daemon worker,5,main]) completed. Took 0.032 secs.
:app:validateSigningDebug (Thread[Daemon worker,5,main]) started.
:app:validateSigningDebug
Putting task artifact state for task ':app:validateSigningDebug' into context took 0.0 secs.
Executing task ':app:validateSigningDebug' (up-to-date check took 0.0 secs) due to:
Task has not declared any outputs.
:app:validateSigningDebug (Thread[Daemon worker,5,main]) completed. Took 0.033 secs.
:app:packageDebug (Thread[Daemon worker,5,main]) started.
:app:packageDebug
Putting task artifact state for task ':app:packageDebug' into context took 0.002 secs.
Skipping task ':app:packageDebug' as it is up-to-date (took 0.023 secs).
:app:packageDebug UP-TO-DATE
:app:packageDebug (Thread[Daemon worker,5,main]) completed. Took 0.048 secs.
:app:assembleDebug (Thread[Daemon worker,5,main]) started.
:app:assembleDebug
Skipping task ':app:assembleDebug' as it has no actions.
:app:assembleDebug UP-TO-DATE
:app:assembleDebug (Thread[Daemon worker,5,main]) completed. Took 0.003 secs.
:app:preReleaseBuild (Thread[Daemon worker,5,main]) started.
:app:preReleaseBuild
Putting task artifact state for task ':app:preReleaseBuild' into context took 0.001 secs.
Skipping task ':app:preReleaseBuild' as it is up-to-date (took 0.055 secs).
:app:preReleaseBuild UP-TO-DATE
:app:preReleaseBuild (Thread[Daemon worker,5,main]) completed. Took 0.056 secs.
:app:compileReleaseAidl (Thread[Daemon worker,5,main]) started.
:app:compileReleaseAidl
Putting task artifact state for task ':app:compileReleaseAidl' into context took 0.0 secs.
Skipping task ':app:compileReleaseAidl' as it is up-to-date (took 0.008 secs).
:app:compileReleaseAidl UP-TO-DATE
:app:compileReleaseAidl (Thread[Daemon worker,5,main]) completed. Took 0.008 secs.
:app:compileReleaseRenderscript (Thread[Daemon worker,5,main]) started.
:app:compileReleaseRenderscript
Putting task artifact state for task ':app:compileReleaseRenderscript' into context took 0.0 secs.
Skipping task ':app:compileReleaseRenderscript' as it is up-to-date (took 0.015 secs).
:app:compileReleaseRenderscript UP-TO-DATE
:app:compileReleaseRenderscript (Thread[Daemon worker,5,main]) completed. Took 0.016 secs.
:app:checkReleaseManifest (Thread[Daemon worker,5,main]) started.
:app:checkReleaseManifest
Putting task artifact state for task ':app:checkReleaseManifest' into context took 0.0 secs.
Skipping task ':app:checkReleaseManifest' as it is up-to-date (took 0.003 secs).
:app:checkReleaseManifest UP-TO-DATE
:app:checkReleaseManifest (Thread[Daemon worker,5,main]) completed. Took 0.004 secs.
:app:generateReleaseBuildConfig (Thread[Daemon worker,5,main]) started.
:app:generateReleaseBuildConfig
Putting task artifact state for task ':app:generateReleaseBuildConfig' into context took 0.0 secs.
Skipping task ':app:generateReleaseBuildConfig' as it is up-to-date (took 0.003 secs).
:app:generateReleaseBuildConfig UP-TO-DATE
:app:generateReleaseBuildConfig (Thread[Daemon worker,5,main]) completed. Took 0.003 secs.
:app:generateReleaseResValues (Thread[Daemon worker,5,main]) started.
:app:generateReleaseResValues
Putting task artifact state for task ':app:generateReleaseResValues' into context took 0.001 secs.
Skipping task ':app:generateReleaseResValues' as it is up-to-date (took 0.001 secs).
:app:generateReleaseResValues UP-TO-DATE
:app:generateReleaseResValues (Thread[Daemon worker,5,main]) completed. Took 0.002 secs.
:app:generateReleaseResources (Thread[Daemon worker,5,main]) started.
:app:generateReleaseResources
Skipping task ':app:generateReleaseResources' as it has no actions.
:app:generateReleaseResources UP-TO-DATE
:app:generateReleaseResources (Thread[Daemon worker,5,main]) completed. Took 0.001 secs.
:app:processReleaseGoogleServices (Thread[Daemon worker,5,main]) started.
:app:processReleaseGoogleServices
Putting task artifact state for task ':app:processReleaseGoogleServices' into context took 0.0 secs.
Executing task ':app:processReleaseGoogleServices' (up-to-date check took 0.0 secs) due to:
Task has not declared any outputs.
Parsing json file: /var/lib/jenkins/workspace/android_test/app/google-services.json
:app:processReleaseGoogleServices (Thread[Daemon worker,5,main]) completed. Took 0.014 secs.
:app:mergeReleaseResources (Thread[Daemon worker,5,main]) started.
:app:mergeReleaseResources
Putting task artifact state for task ':app:mergeReleaseResources' into context took 0.001 secs.
Skipping task ':app:mergeReleaseResources' as it is up-to-date (took 0.203 secs).
:app:mergeReleaseResources UP-TO-DATE
:app:mergeReleaseResources (Thread[Daemon worker,5,main]) completed. Took 0.206 secs.
:app:createReleaseCompatibleScreenManifests (Thread[Daemon worker,5,main]) started.
:app:createReleaseCompatibleScreenManifests
Putting task artifact state for task ':app:createReleaseCompatibleScreenManifests' into context took 0.002 secs.
Skipping task ':app:createReleaseCompatibleScreenManifests' as it is up-to-date (took 0.005 secs).
:app:createReleaseCompatibleScreenManifests UP-TO-DATE
:app:createReleaseCompatibleScreenManifests (Thread[Daemon worker,5,main]) completed. Took 0.007 secs.
:app:processReleaseManifest (Thread[Daemon worker,5,main]) started.
:app:processReleaseManifest
Putting task artifact state for task ':app:processReleaseManifest' into context took 0.001 secs.
Skipping task ':app:processReleaseManifest' as it is up-to-date (took 0.012 secs).
:app:processReleaseManifest UP-TO-DATE
:app:processReleaseManifest (Thread[Daemon worker,5,main]) completed. Took 0.013 secs.
:app:splitsDiscoveryTaskRelease (Thread[Daemon worker,5,main]) started.
:app:splitsDiscoveryTaskRelease
Putting task artifact state for task ':app:splitsDiscoveryTaskRelease' into context took 0.0 secs.
Skipping task ':app:splitsDiscoveryTaskRelease' as it is up-to-date (took 0.003 secs).
:app:splitsDiscoveryTaskRelease UP-TO-DATE
:app:splitsDiscoveryTaskRelease (Thread[Daemon worker,5,main]) completed. Took 0.003 secs.
:app:processReleaseResources (Thread[Daemon worker,5,main]) started.
:app:processReleaseResources
Putting task artifact state for task ':app:processReleaseResources' into context took 0.01 secs.
Skipping task ':app:processReleaseResources' as it is up-to-date (took 0.051 secs).
:app:processReleaseResources UP-TO-DATE
:app:processReleaseResources (Thread[Daemon worker,5,main]) completed. Took 0.063 secs.
:app:generateReleaseSources (Thread[Daemon worker,5,main]) started.
:app:generateReleaseSources
Skipping task ':app:generateReleaseSources' as it has no actions.
:app:generateReleaseSources UP-TO-DATE
:app:generateReleaseSources (Thread[Daemon worker,5,main]) completed. Took 0.0 secs.
:app:javaPreCompileRelease (Thread[Daemon worker,5,main]) started.
:app:javaPreCompileRelease
Putting task artifact state for task ':app:javaPreCompileRelease' into context took 0.0 secs.
Skipping task ':app:javaPreCompileRelease' as it is up-to-date (took 0.02 secs).
:app:javaPreCompileRelease UP-TO-DATE
:app:javaPreCompileRelease (Thread[Daemon worker,5,main]) completed. Took 0.02 secs.
:app:compileReleaseJavaWithJavac (Thread[Daemon worker,5,main]) started.
:app:compileReleaseJavaWithJavac
Putting task artifact state for task ':app:compileReleaseJavaWithJavac' into context took 0.001 secs.
file or directory '/var/lib/jenkins/workspace/android_test/app/src/release/java', not found
Skipping task ':app:compileReleaseJavaWithJavac' as it is up-to-date (took 0.099 secs).
:app:compileReleaseJavaWithJavac UP-TO-DATE
:app:compileReleaseJavaWithJavac (Thread[Daemon worker,5,main]) completed. Took 0.104 secs.
:app:compileReleaseNdk (Thread[Daemon worker,5,main]) started.
:app:compileReleaseNdk
Putting task artifact state for task ':app:compileReleaseNdk' into context took 0.0 secs.
Skipping task ':app:compileReleaseNdk' as it has no source files and no previous output files.
:app:compileReleaseNdk NO-SOURCE
:app:compileReleaseNdk (Thread[Daemon worker,5,main]) completed. Took 0.001 secs.
:app:compileReleaseSources (Thread[Daemon worker,5,main]) started.
:app:compileReleaseSources
Skipping task ':app:compileReleaseSources' as it has no actions.
:app:compileReleaseSources UP-TO-DATE
:app:compileReleaseSources (Thread[Daemon worker,5,main]) completed. Took 0.0 secs.
:app:mergeReleaseShaders (Thread[Daemon worker,5,main]) started.
:app:mergeReleaseShaders
Putting task artifact state for task ':app:mergeReleaseShaders' into context took 0.013 secs.
Skipping task ':app:mergeReleaseShaders' as it is up-to-date (took 0.005 secs).
:app:mergeReleaseShaders UP-TO-DATE
:app:mergeReleaseShaders (Thread[Daemon worker,5,main]) completed. Took 0.018 secs.
:app:compileReleaseShaders (Thread[Daemon worker,5,main]) started.
:app:compileReleaseShaders
Putting task artifact state for task ':app:compileReleaseShaders' into context took 0.0 secs.
Skipping task ':app:compileReleaseShaders' as it is up-to-date (took 0.004 secs).
:app:compileReleaseShaders UP-TO-DATE
:app:compileReleaseShaders (Thread[Daemon worker,5,main]) completed. Took 0.004 secs.
:app:generateReleaseAssets (Thread[Daemon worker,5,main]) started.
:app:generateReleaseAssets
Skipping task ':app:generateReleaseAssets' as it has no actions.
:app:generateReleaseAssets UP-TO-DATE
:app:generateReleaseAssets (Thread[Daemon worker,5,main]) completed. Took 0.006 secs.
:app:mergeReleaseAssets (Thread[Daemon worker,5,main]) started.
:app:mergeReleaseAssets
Putting task artifact state for task ':app:mergeReleaseAssets' into context took 0.0 secs.
Skipping task ':app:mergeReleaseAssets' as it is up-to-date (took 0.018 secs).
:app:mergeReleaseAssets UP-TO-DATE
:app:mergeReleaseAssets (Thread[Daemon worker,5,main]) completed. Took 0.019 secs.
:app:transformClassesWithPreDexForRelease (Thread[Daemon worker,5,main]) started.
:app:transformClassesWithPreDexForRelease
Putting task artifact state for task ':app:transformClassesWithPreDexForRelease' into context took 0.0 secs.
Skipping task ':app:transformClassesWithPreDexForRelease' as it is up-to-date (took 0.037 secs).
:app:transformClassesWithPreDexForRelease UP-TO-DATE
:app:transformClassesWithPreDexForRelease (Thread[Daemon worker,5,main]) completed. Took 0.037 secs.
:app:transformDexWithDexForRelease (Thread[Daemon worker,5,main]) started.
:app:transformDexWithDexForRelease
Putting task artifact state for task ':app:transformDexWithDexForRelease' into context took 0.0 secs.
Skipping task ':app:transformDexWithDexForRelease' as it is up-to-date (took 0.016 secs).
:app:transformDexWithDexForRelease UP-TO-DATE
:app:transformDexWithDexForRelease (Thread[Daemon worker,5,main]) completed. Took 0.019 secs.
:app:mergeReleaseJniLibFolders (Thread[Daemon worker,5,main]) started.
:app:mergeReleaseJniLibFolders
Putting task artifact state for task ':app:mergeReleaseJniLibFolders' into context took 0.003 secs.
Skipping task ':app:mergeReleaseJniLibFolders' as it is up-to-date (took 0.009 secs).
:app:mergeReleaseJniLibFolders UP-TO-DATE
:app:mergeReleaseJniLibFolders (Thread[Daemon worker,5,main]) completed. Took 0.012 secs.
:app:transformNativeLibsWithMergeJniLibsForRelease (Thread[Daemon worker,5,main]) started.
:app:transformNativeLibsWithMergeJniLibsForRelease
Putting task artifact state for task ':app:transformNativeLibsWithMergeJniLibsForRelease' into context took 0.0 secs.
Skipping task ':app:transformNativeLibsWithMergeJniLibsForRelease' as it is up-to-date (took 0.03 secs).
:app:transformNativeLibsWithMergeJniLibsForRelease UP-TO-DATE
:app:transformNativeLibsWithMergeJniLibsForRelease (Thread[Daemon worker,5,main]) completed. Took 0.032 secs.
:app:processReleaseJavaRes (Thread[Daemon worker,5,main]) started.
:app:processReleaseJavaRes
Putting task artifact state for task ':app:processReleaseJavaRes' into context took 0.0 secs.
Skipping task ':app:processReleaseJavaRes' as it has no source files and no previous output files.
:app:processReleaseJavaRes NO-SOURCE
:app:processReleaseJavaRes (Thread[Daemon worker,5,main]) completed. Took 0.0 secs.
:app:transformResourcesWithMergeJavaResForRelease (Thread[Daemon worker,5,main]) started.
:app:transformResourcesWithMergeJavaResForRelease
Putting task artifact state for task ':app:transformResourcesWithMergeJavaResForRelease' into context took 0.0 secs.
Skipping task ':app:transformResourcesWithMergeJavaResForRelease' as it is up-to-date (took 0.038 secs).
:app:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:app:transformResourcesWithMergeJavaResForRelease (Thread[Daemon worker,5,main]) completed. Took 0.041 secs.
:app:packageRelease (Thread[Daemon worker,5,main]) started.
:app:packageRelease
Putting task artifact state for task ':app:packageRelease' into context took 0.001 secs.
Skipping task ':app:packageRelease' as it is up-to-date (took 0.016 secs).
:app:packageRelease UP-TO-DATE
:app:packageRelease (Thread[Daemon worker,5,main]) completed. Took 0.024 secs.
:app:lintVitalRelease (Thread[Daemon worker,5,main]) started.
:app:lintVitalRelease
Putting task artifact state for task ':app:lintVitalRelease' into context took 0.0 secs.
Executing task ':app:lintVitalRelease' (up-to-date check took 0.0 secs) due to:
Task has not declared any outputs.
The message received from the daemon indicates that the daemon has disappeared.
Build request sent: Build{id=eff99c46-6256-41c4-a43b-a01bcb5e87da.1, currentDir=/var/lib/jenkins/workspace/android_test}
Attempting to read last messages from the daemon log...
Daemon pid: 18500
log file: /var/lib/jenkins/.gradle/daemon/4.1/daemon-18500.out.log
----- Last 20 lines from daemon log file - daemon-18500.out.log -----
Skipping task ':app:processReleaseJavaRes' as it has no source files and no previous output files.
:app:processReleaseJavaRes NO-SOURCE
:app:processReleaseJavaRes (Thread[Daemon worker,5,main]) completed. Took 0.0 secs.
:app:transformResourcesWithMergeJavaResForRelease (Thread[Daemon worker,5,main]) started.
:app:transformResourcesWithMergeJavaResForRelease
Putting task artifact state for task ':app:transformResourcesWithMergeJavaResForRelease' into context took 0.0 secs.
Skipping task ':app:transformResourcesWithMergeJavaResForRelease' as it is up-to-date (took 0.038 secs).
:app:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:app:transformResourcesWithMergeJavaResForRelease (Thread[Daemon worker,5,main]) completed. Took 0.041 secs.
:app:packageRelease (Thread[Daemon worker,5,main]) started.
:app:packageRelease
Putting task artifact state for task ':app:packageRelease' into context took 0.001 secs.
Skipping task ':app:packageRelease' as it is up-to-date (took 0.016 secs).
:app:packageRelease UP-TO-DATE
:app:packageRelease (Thread[Daemon worker,5,main]) completed. Took 0.024 secs.
:app:lintVitalRelease (Thread[Daemon worker,5,main]) started.
:app:lintVitalRelease
Putting task artifact state for task ':app:lintVitalRelease' into context took 0.0 secs.
Executing task ':app:lintVitalRelease' (up-to-date check took 0.0 secs) due to:
Task has not declared any outputs.
----- End of the daemon log -----
FAILURE: Build failed with an exception.
* What went wrong:
Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)
* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.
* Get more help at https://help.gradle.org
what can i do?