错误:任务 ':lib:compileReleaseAidl' 的执行失败.>Executor Singleton 未启动 [英] Error:Execution failed for task ':lib:compileReleaseAidl'. > Executor Singleton not started
本文介绍了错误:任务 ':lib:compileReleaseAidl' 的执行失败.>Executor Singleton 未启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我从 Github 将一个项目导入我的 Android Studio 时,会发生这种情况.如何解决?
When I import one project into my Android Studio from Github, this happens. How to fix it?
Information:Gradle tasks [:app:generateDebugSources, :app:generateDebugTestSources, :lib:generateDebugSources, :lib:generateDebugTestSources]
:app:preBuild
:app:preDebugBuild
:app:checkDebugManifest
:app:preReleaseBuild
:lib:compileLint
:lib:copyReleaseLint UP-TO-DATE
:lib:preBuild
:lib:preReleaseBuild
:lib:checkReleaseManifest
:lib:preDebugBuild
:lib:preDebugTestBuild
:lib:prepareComAndroidSupportAppcompatV72102Library UP-TO-DATE
:lib:prepareComAndroidSupportCardviewV72102Library UP-TO-DATE
:lib:prepareComAndroidSupportSupportV42102Library UP-TO-DATE
:lib:prepareReleaseDependencies
:lib:compileReleaseAidl FAILED
Error:Execution failed for task ':lib:compileReleaseAidl'.
> Executor Singleton not started
推荐答案
我遇到了同样的问题,这是我所做的:
I was facing the same issue, here is what I did:
1- 将所有项目依赖项更新到 22+
1- Updated all the project dependencies to latest version (AppCompat,SupportV4,cardview, etc) which are 22+
2- 更新根项目 build.gradle 文件以使用最新的 gradle 版本:
2- Updated root projects build.gradle file to use latest gradle version :
classpath 'com.android.tools.build:gradle:1.2.3'
3- 在 gradle-wrapper.properties 文件中,我使用了最新的 gradle 版本 2.4
3- In gradle-wrapper.properties file I used the latest gradle version which is 2.4
distributionUrl=https\://services.gradle.org/distributions/gradle-2.4-all.zip
这篇关于错误:任务 ':lib:compileReleaseAidl' 的执行失败.>Executor Singleton 未启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文