Gradle build daemon disappeared unexpectedly问题求解答

Kid_Lau 发布于 2016/09/05 15:35
阅读 4K+
收藏 0

在android studio下编译出现如下问题,不知道怎么解决,求答案。

Information:Gradle tasks [:clean, :generateDebugSources, :generateDebugAndroidTestSources, :mockableAndroidJar, :prepareDebugUnitTestDependencies, :assembleDebug]
Error:Failed to complete Gradle execution.

Cause:
Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)
:clean
:preBuild UP-TO-DATE
:preDebugBuild UP-TO-DATE
:checkDebugManifest
:prepareDebugDependencies
:compileDebugAidl
:compileDebugRenderscript
:generateDebugBuildConfig
:mergeDebugShaders
:compileDebugShaders
:generateDebugAssets
:mergeDebugAssets
:generateDebugResValues UP-TO-DATE
:generateDebugResources
:mergeDebugResources
:processDebugManifest
:processDebugResources
:generateDebugSources
:preDebugAndroidTestBuild UP-TO-DATE
:prepareDebugAndroidTestDependencies
:compileDebugAndroidTestAidl
:processDebugAndroidTestManifest
:compileDebugAndroidTestRenderscript
:generateDebugAndroidTestBuildConfig
:mergeDebugAndroidTestShaders
:compileDebugAndroidTestShaders
:generateDebugAndroidTestAssets
:mergeDebugAndroidTestAssets
:generateDebugAndroidTestResValues UP-TO-DATE
:generateDebugAndroidTestResources
:mergeDebugAndroidTestResources
:processDebugAndroidTestResources
:generateDebugAndroidTestSources
:mockableAndroidJar
:preDebugUnitTestBuild UP-TO-DATE
:prepareDebugUnitTestDependencies
:incrementalDebugJavaCompilationSafeguard
:compileDebugJavaWithJavac
:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Note: 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.
:compileDebugNdk UP-TO-DATE
:compileDebugSources
:buildInfoDebugLoader
:transformClassesWithExtractJarsForDebug
:transformClassesWithInstantRunVerifierForDebug
:transformClassesWithJavaResourcesVerifierForDebug UP-TO-DATE
:mergeDebugJniLibFolders
:transformNative_libsWithMergeJniLibsForDebug
:processDebugJavaRes
:transformResourcesWithMergeJavaResForDebug
:transformResourcesAndNative_libsWithJavaResourcesVerifierForDebug UP-TO-DATE
:transformClassesWithInstantRunForDebug
:transformClasses_enhancedWithInstant+reloadDexForDebug UP-TO-DATE
:incrementalDebugTasks
:prePackageMarkerForDebug
:fastDeployDebugExtractor
:generateDebugInstantRunAppInfo
:transformClassesWithDexForDebug
Error⚠ Ignoring InnerClasses attribute for an anonymous inner class
Error:(cn.sharesdk.wechat.utils.h) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Error⚠ Ignoring InnerClasses attribute for an anonymous inner class
Error:(cn.sharesdk.wechat.utils.i) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Error⚠ Ignoring InnerClasses attribute for an anonymous inner class
Error:(cn.sharesdk.wechat.utils.l) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Error⚠ Ignoring InnerClasses attribute for an anonymous inner class
Error:(cn.sharesdk.wechat.favorite.a) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Error⚠ Ignoring InnerClasses attribute for an anonymous inner class
Error:(cn.sharesdk.wechat.friends.a) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Error⚠ Ignoring InnerClasses attribute for an anonymous inner class
Error:(cn.sharesdk.sina.weibo.b) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Error⚠ Ignoring InnerClasses attribute for an anonymous inner class
Error:(cn.sharesdk.sina.weibo.d) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Error⚠ Ignoring InnerClasses attribute for an anonymous inner class
Error:(com.sina.weibo.sdk.api.TextObject$1) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Error⚠ Ignoring InnerClasses attribute for an anonymous inner class
Error:(cn.sharesdk.sina.weibo.g) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Error⚠ Ignoring InnerClasses attribute for an anonymous inner class
Error:(cn.sharesdk.sina.weibo.h) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Error⚠ Ignoring InnerClasses attribute for an anonymous inner class
Error:(com.sina.weibo.sdk.api.ImageObject$1) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Error⚠ Ignoring InnerClasses attribute for an anonymous inner class
Error:(com.sina.weibo.sdk.api.WebpageObject$1) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Error⚠ Ignoring InnerClasses attribute for an anonymous inner class
Error:(cn.sharesdk.wechat.moments.a) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Error⚠ Ignoring InnerClasses attribute for an anonymous inner class
Error:(cn.sharesdk.framework.authorize.c) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Error⚠ Ignoring InnerClasses attribute for an anonymous inner class
Error:(cn.sharesdk.framework.authorize.d) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Error⚠ Ignoring InnerClasses attribute for an anonymous inner class
Error:(cn.sharesdk.framework.authorize.i) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Error⚠ Ignoring InnerClasses attribute for an anonymous inner class
Error:(cn.sharesdk.framework.authorize.j) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Error⚠ Ignoring InnerClasses attribute for an anonymous inner class
Error:(cn.sharesdk.framework.b) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Error⚠ Ignoring InnerClasses attribute for an anonymous inner class
Error:(cn.sharesdk.framework.c) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Error⚠ Ignoring InnerClasses attribute for an anonymous inner class
Error:(cn.sharesdk.framework.authorize.h) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Error⚠ Ignoring InnerClasses attribute for an anonymous inner class
Error:(cn.sharesdk.framework.g) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Error⚠ Ignoring InnerClasses attribute for an anonymous inner class
Error:(cn.sharesdk.framework.h) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Error⚠ Ignoring InnerClasses attribute for an anonymous inner class
Error:(cn.sharesdk.framework.j) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Error⚠ Ignoring InnerClasses attribute for an anonymous inner class
Error:(cn.sharesdk.framework.l) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Error⚠ Ignoring InnerClasses attribute for an anonymous inner class
Error:(cn.sharesdk.framework.m) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Error⚠ Ignoring InnerClasses attribute for an anonymous inner class
Error:(cn.sharesdk.framework.n) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Error⚠ Ignoring InnerClasses attribute for an anonymous inner class
Error:(cn.sharesdk.framework.utils.e) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Error⚠ Ignoring InnerClasses attribute for an anonymous inner class
Error:(cn.sharesdk.framework.utils.h) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Error⚠ Ignoring InnerClasses attribute for an anonymous inner class
Error:(cn.sharesdk.framework.utils.i) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Information:233 errors
Information:0 warnings
Information:See complete output in console



加载中
0
l
lishiyou
你好,请问你这个问题解决了吗?怎么处理的?
Kid_Lau
Kid_Lau
我更新了jdk版本,这问题没有出现了,但偶尔还是会出现crash的问题,估计是我linux发行版的系统环境变量问题,在windows上没有这个问题。
0
A
AmengBus

关闭AndroidStudio ,删除 C:\Users\ameng\.gradle\caches   文件的子文件即可。

返回顶部
顶部