buildscript { repositories { google() jcenter() mavenCentral() } dependencies { classpath "com.android.tools.build:gradle:4.1.2" classpath 'com.hujiang.aspectjx:gradle-android-plugin-aspectjx:2.0.10' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { google() mavenCentral() jcenter() // Warning: this repository is going to shut down soon maven { url "https://jitpack.io" } // 添加jitpac } } task clean(type: Delete) { delete rootProject.buildDir }