# Creating an AIDL file

1. Enable build feature in your `build.gradle`.

   ```java
   buildFeatures {
    aidl = true
   }
   ```
2. Create a new AIDL file using `File` -> `New` -> `AIDL` -> `AIDL File`
3. Let's name it `ICalculator.aidl`
4. Declare aidl methods:

   ```kotlin
    interface IExampleAidlInterface {
        int add(int a, int b);
    }
   ```
