After Android uses the slice programming library and relies on kotlin to write SDK at the same time, there may be different problems in compiling projects.

Enter the app's build.gradle file, you can try to add the following code under the apply plugin: 'com.android.application' line of code in the header, this problem is also encountered when I just got off work, just when the project is rushing to test, Team of three worked overtime to find a solution before finally finding this solution, come on.
aspectjx {
    exclude "**/module-info.class"
    exclude "META-INF.versions.9.module-info"
    exclude "META-INF/versions/9/*.class"
}

Guess you like

Origin blog.csdn.net/weixin_44715716/article/details/120431508