前言
升级最新的Android Studio后创建aidl文件时,提示
Requires setting the buildFeatures.aidl to true in the build file
意思默认不支持创建,需要改配置文件。
记录于此,方便自己查阅。
正文
下面是解决方式。
添加
buildFeatures{aidl true}
添加位置如下
Biu2Aidl/build.gradle
plugins { id 'com.android.library' } android { //略 //新增aidl配置 buildFeatures{aidl true} } dependencies { //略 }
参考文章
《
© 版权声明