错误:执行失败的任务“:LIB:compileReleaseAidl”。 >遗嘱执行人辛格尔顿没有开始执行人、遗嘱、格尔、错误

2023-09-05 03:56:05 作者:ぐyě孒の酒

当我输入一个项目到我的机器人工作室从Github上,发生这种情况。如何解决这个问题?

 信息:摇篮任务[:应用程序:generateDebugSources,:应用程序:generateDebugTestSources,:lib目录下:generateDebugSources,:lib目录下:generateDebugTestSources]
:应用程序:preBuild
:应用程序:preDebugBuild
:应用程序:checkDebugManifest
:应用程序: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失败
错误:执行失败的任务:LIB:compileReleaseAidl。
>遗嘱执行人辛格尔顿没有开始
 

解决方案

我面临同样的问题,这里是我做的:

1更新了所有的项目依赖于最新版本(AppCompat,SupportV4,cardview等),这是 22 +

2 - 更新根项目的 build.gradle 文件中使用最新版本的摇篮:

 类路径com.android.tools.build:gradle:1.2.3
 
真心求助0 0 Cannot open include file acllib.h

3- gradle-wrapper.properties 文件我用的是最新的摇篮版本,这是 2.4

  distributionUrl = HTTPS \://services.gradle.org/distributions/gradle-2.4-all.zip
 

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- Updated all the project dependencies to latest version (AppCompat,SupportV4,cardview, etc) which are 22+

2- Updated root projects build.gradle file to use latest gradle version :

classpath 'com.android.tools.build:gradle:1.2.3'

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