Android Studio: Gradle build fails — Execution failed for task ':compileDebugAidl'

前端 未结 10 1898
孤街浪徒
孤街浪徒 2021-02-06 22:18

After changes to source and building with gradle in Android Studio (I/O preview) AI - 130.677228 the build fails with the following error:

Gradle: 
FAILURE: Buil         


        
10条回答
  •  迷失自我
    2021-02-06 23:07

    The missing AIDL something is google android studio problem to not update major gradle dependencies class path.

    Fix: - open project gradle file (no app, project !) - replace: classpath 'com.android.tools.build:gradle:1.0.1' or whatever with classpath 'com.android.tools.build:gradle:1.3.1'

    If you can not compile a time before, compilable project, the google cat & dog are not sleeping and theire making changes, updates, therefore you have to wake up and made changes where they forget to. And gradle is quite unstable project and buggy.

提交回复
热议问题