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
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'
it works for me
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With