Error: execution completed for task ': lib: compileReleaseAidl'. > Executor Singleton not running

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 
+7
java android github android-studio
source share
3 answers

I ran into the same problem, here is what I did:

1- Updated all project dependencies on the latest version (AppCompat, SupportV4, cardview, etc.), which are 22 +

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

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

3- In the gradle -wrapper.properties file, I used the latest version of gradle, which is 2.4

 distributionUrl=https\://services.gradle.org/distributions/gradle-2.4-all.zip 
+32
source share

I had in build.gradle: classpath 'com.android.tools.build: gradle: 1.0.0'

I changed to: classpath 'com.android.tools.build: gradle: 1.2.3'

he works for me

+7
source share

The gradle shell must be in the same version as the gradle dependency.

The most recent of this date is at build.gradle

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

And, in gradle -wrapper.properties:

distributionUrl = https://services.gradle.org/distributions/ gradle -2.7-rc-1-all.zip

0
source share

All Articles