AIDL File Requries setting the buildFeatures.aidl to true in the build file build.gradle 中配置 android{ buildFeatures { aidl true } }