AIDL interfaces not generated on Android Gradle Plugin 9.0.0

23 hours ago 3
ARTICLE AD BOX

I updated to Android Gradle Plugin 9.0.0, now using the new Kotlin Multiplatform library. However, AIDL interfaces are not being generated anymore. The build task fails.

Snippets of Android documentation mention:

enter image description here

But on another page, they mention:

enter image description here

The AIDL files are in the correct location:

enter image description here

However, there is no API to enable AIDL:

enter image description here

Subsequently the build fails:

enter image description here

The only solution I could think of, is moving this code to a separate Gradle module where I apply the com.android.library plugin instead of the new com.android.kotlin.multiplatform.library plugin, but apparently com.android.library is being deprecated:

enter image description here

Read Entire Article