How to add AIDL folder | Android Studio

What is AIDL?

The AIDL stands for Android Interface Definition Language. It's a Flag to enable the AIDL compilation.

How To Enable AIDL?

Step 1: Open the gradle.properties file and add the android.defaults.buildfeatures.aidl=true at the end of this file as shown in the screenshot.

Step 2: Right Click on the app folder it will show a window do the following flow app > New > Folder > AIDL Folder

Step 3: Click the Finish button
The AIDL folder is created and ready to use


Note: This article will also help you to resolve the following issue
AIDL File (Requires setting the buildFeatures.aid to true in the build file)

Comments

Popular posts from this blog

Manage External Storage Permission | Android Studio | Kotlin

Manage External Storage Permission | Android Studio | Java

Add a Back Button to Action Bar Android Studio (Kotlin)