Error:Execution failed for task ':lib:compileReleaseAidl'. > Executor Singleton not started

后端 未结 3 1287
予麋鹿
予麋鹿 2021-02-06 08:02

When I import one project into my Android Studio from Github, this happens. How to fix it?

Information:Gradle tasks [:app:generateDebugSources, :app:generateDebu         


        
相关标签:
3条回答
  • 2021-02-06 08:26

    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

    0 讨论(0)
  • 2021-02-06 08:26

    The gradle wrapper should be in the same version as the gradle dependency.

    The latest to this date is, in 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 讨论(0)
  • 2021-02-06 08:49

    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
    
    0 讨论(0)
提交回复
热议问题