Error could not find aidl/activity

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error could not find aidl/activity

1,953 Views
Grigoriy
Contributor III

Hello,

 

I'm trying to build custom AAOS 14 based on nxp code. I extended CarSystemUI and flashed our board. When I tried to boot it booting stuck on bootanimation screen. And I looping this logs:

[ 2105.344347][ T6738] servicemanager: Caller(pid=6552,uid=1041,sid=u:r:audioserver:s0) Tried to start aidl service activity as a lazy service, but was unable to. Usually this happens when a service is not installed, but if the service is intended to be used as a lazy service, then it may be configured incorrectly.
[ 2106.332379][  T221] servicemanager: Caller(pid=6552,uid=1041,sid=u:r:audioserver:s0) Since 'activity' could not be found trying to start it as a lazy AIDL service. (if it's not configured to be a lazy service, it may be stuck starting or still starting).
[ 2106.360997][    T1] init: Control message: Could not find 'aidl/activity' for ctl.interface_start from pid: 221 (/system/bin/servicemanager)
[ 2106.375408][ T6739] servicemanager: Caller(pid=6552,uid=1041,sid=u:r:audioserver:s0) Tried to start aidl service activity as a lazy service, but was unable to. Usually this happens when a service is not installed, but if the service is intended to be used as a lazy service, then it may be configured incorrectly.
0 Kudos
Reply
4 Replies

1,877 Views
Grigoriy
Contributor III

Any advice or help please?

0 Kudos
Reply

1,599 Views
Maruti
Contributor III

Hii @Grigoriy 
Have you found a solution for this issue? It would be really helpful if you could share the details.

Tags (2)
0 Kudos
Reply

1,945 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

The "Could not find 'aidl/activity'" error in Android development likely indicates that the build system cannot locate an AIDL file named activity within the aidl directory structure. This usually means the AIDL file or the directory structure is missing or incorrectly configured. To resolve this, ensure the AIDL file (e.g., activity.aidl) exists in the correct location and that the build system is configured to recognize AIDL files. 
 
 
Here's a breakdown of the potential issues and how to fix them:
1. Missing or Misplaced AIDL File:
  • Check the file: Verify that an activity.aidl file exists.
  • Check the directory: Ensure the activity.aidl file is placed within the src/main/aidl directory of your Android project, or the appropriate source set if you're using custom source sets.
  • Package structure: The AIDL file's package declaration (e.g., package com.example.app.aidl;) must match the directory structure where it's located. If the file is in src/main/aidl/com/example/app/, the package declaration should be package com.example.app.aidl;. 
     
 
2. Build System Configuration (Android Gradle Plugin):
  • Enable AIDL: Make sure the aidl build feature is enabled in your app/build.gradle file. 
 
Código
 
    android {        buildFeatures {            aidl true        }    }
  • Source sets: If you are using custom source sets, you might need to specify the source directory for AIDL files in the sourceSets block. 
 
Código
 
    android {        sourceSets {            main {                aidl {                    srcDirs 'src/main/aidl'                }            }        }    }
3. Clean and Rebuild:
  • After making changes to the AIDL file or build configuration, clean and rebuild your project to ensure the changes are applied.
    • In Android Studio, go to Build > Clean Project and then Build > Rebuild Project. 
       
  • . Incremental Build (Android Studio):
    Android Studio's incremental build usually handles AIDL files efficiently, but if you encounter issues, try a full rebuild. 
     
 
 
5. Stable AIDL:
  • If you're working with stable AIDL, ensure that all dependencies of your AIDL interface are also defined as stable AIDL.
  • Convert any parcelables to stable parcelables by defining their structure directly in AIDL files. 
 
Example:
 
Let's say you have an AIDL interface called IMyInterface and you want to use it in your activity.
 
  1. Create IMyInterface.aidl:
Código
 
    // IMyInterface.aidl    package com.example.app.aidl;    interface IMyInterface {        void doSomething();    }
  1. Place it in src/main/aidl/com/example/app/:
     
 
Código
 
    my_app/    ├── src/    │   └── main/    │       ├── aidl/    │       │   └── com/    │       │       └── example/    │       │           └── app/    │       │               └── IMyInterface.aidl
  1. Enable AIDL in app/build.gradle: 
     
  1.  
Código
 
    android {        buildFeatures {            aidl true        }    }
  1. Clean and Rebuild. 
     
  1.  
By following these steps, you should be able to resolve the "Could not find 'aidl/activity'" error and successfully use your AIDL interface in your Android project. 
 
 
reegards
0 Kudos
Reply

1,906 Views
Grigoriy
Contributor III

Hi @Bio_TICFSL

Thank you for your respond. Here is what I found: 

1) I tried to find `activity.aidl` in all AAOS folders and it doesn't exist. 

2) In our code we don't use any `.aidl`

3) I tried to find in all AAOS code the call of `aidl/activity` by `grep` and there is no such a call.

4) The default CarSystemUI is working fine and we extended it without changing anything in the base code.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2121500%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EError%20could%20not%20find%20aidl%2Factivity%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2121500%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EI'm%20trying%20to%20build%20custom%20AAOS%2014%20based%20on%20nxp%20code.%20I%20extended%20CarSystemUI%20and%20flashed%20our%20board.%20When%20I%20tried%20to%20boot%20it%20booting%20stuck%20on%20bootanimation%20screen.%20And%20I%20looping%20this%20logs%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%5B%202105.344347%5D%5B%20T6738%5D%20servicemanager%3A%20Caller(pid%3D6552%2Cuid%3D1041%2Csid%3Du%3Ar%3Aaudioserver%3As0)%20Tried%20to%20start%20aidl%20service%20activity%20as%20a%20lazy%20service%2C%20but%20was%20unable%20to.%20Usually%20this%20happens%20when%20a%20service%20is%20not%20installed%2C%20but%20if%20the%20service%20is%20intended%20to%20be%20used%20as%20a%20lazy%20service%2C%20then%20it%20may%20be%20configured%20incorrectly.%0A%5B%202106.332379%5D%5B%20%20T221%5D%20servicemanager%3A%20Caller(pid%3D6552%2Cuid%3D1041%2Csid%3Du%3Ar%3Aaudioserver%3As0)%20Since%20'activity'%20could%20not%20be%20found%20trying%20to%20start%20it%20as%20a%20lazy%20AIDL%20service.%20(if%20it's%20not%20configured%20to%20be%20a%20lazy%20service%2C%20it%20may%20be%20stuck%20starting%20or%20still%20starting).%0A%5B%202106.360997%5D%5B%20%20%20%20T1%5D%20init%3A%20Control%20message%3A%20Could%20not%20find%20'aidl%2Factivity'%20for%20ctl.interface_start%20from%20pid%3A%20221%20(%2Fsystem%2Fbin%2Fservicemanager)%0A%5B%202106.375408%5D%5B%20T6739%5D%20servicemanager%3A%20Caller(pid%3D6552%2Cuid%3D1041%2Csid%3Du%3Ar%3Aaudioserver%3As0)%20Tried%20to%20start%20aidl%20service%20activity%20as%20a%20lazy%20service%2C%20but%20was%20unable%20to.%20Usually%20this%20happens%20when%20a%20service%20is%20not%20installed%2C%20but%20if%20the%20service%20is%20intended%20to%20be%20used%20as%20a%20lazy%20service%2C%20then%20it%20may%20be%20configured%20incorrectly.%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2147285%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Error%20could%20not%20find%20aidl%2Factivity%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2147285%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHii%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F248457%22%20target%3D%22_blank%22%3E%40Grigoriy%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3EHave%20you%20found%20a%20solution%20for%20this%20issue%3F%20It%20would%20be%20really%20helpful%20if%20you%20could%20share%20the%20details.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2126387%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Error%20could%20not%20find%20aidl%2Factivity%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2126387%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EAny%20advice%20or%20help%20please%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2123187%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Error%20could%20not%20find%20aidl%2Factivity%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2123187%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F34846%22%20target%3D%22_blank%22%3E%40Bio_TICFSL%3C%2FA%3E%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20respond.%20Here%20is%20what%20I%20found%3A%26nbsp%3B%3C%2FP%3E%3CP%3E1)%20I%20tried%20to%20find%20%60%3CSPAN%3Eactivity.aidl%60%20in%20all%20AAOS%20folders%20and%20it%20doesn't%20exist.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E2)%20In%20our%20code%20we%20don't%20use%20any%20%60.aidl%60%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E3)%20I%20tried%20to%20find%20in%20all%20AAOS%20code%20the%20call%20of%20%60aidl%2Factivity%60%20by%20%60grep%60%20and%20there%20is%20no%20such%20a%20call.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E4)%20The%20default%20CarSystemUI%20is%20working%20fine%20and%20we%20extended%20it%20without%20changing%20anything%20in%20the%20base%20code.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2121587%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Error%20could%20not%20find%20aidl%2Factivity%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2121587%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%20style%3D%22animation%3A%20none%20!important%3B%22%3E%0A%3CDIV%20class%3D%22rPeykc%22%20data-hveid%3D%22CAMQAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQo_EKegQIAxAB%22%3E%3CSPAN%20data-huuid%3D%227073323573472920590%22%3EThe%20%22Could%20not%20find%20'aidl%2Factivity'%22%20error%20in%20Android%20development%20likely%20indicates%20that%20the%20build%20system%20cannot%20locate%20an%20AIDL%20file%20named%20%3CCODE%20class%3D%22mv6bHd%22%3Eactivity%3C%2FCODE%3E%20within%20the%20%3CCODE%20class%3D%22mv6bHd%22%3Eaidl%3C%2FCODE%3E%20directory%20structure.%20%3C%2FSPAN%3E%3CSPAN%20data-huuid%3D%227073323573472921267%22%3EThis%20usually%20means%20the%20AIDL%20file%20or%20the%20directory%20structure%20is%20missing%20or%20incorrectly%20configured.%20%3C%2FSPAN%3E%3CSPAN%20data-huuid%3D%227073323573472921944%22%3ETo%20resolve%20this%2C%20ensure%20the%20AIDL%20file%20(e.g.%2C%20%3CCODE%20class%3D%22mv6bHd%22%3Eactivity.aidl%3C%2FCODE%3E)%20exists%20in%20the%20correct%20location%20and%20that%20the%20build%20system%20is%20configured%20to%20recognize%20AIDL%20files.%3CSPAN%20class%3D%22pjBG2e%22%20data-cid%3D%2225bc03ee-e82e-4c00-a017-9dd9bf006b50%22%20data-ih%3D%22%22%3E%3CSPAN%20class%3D%22UV3uM%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%0A%3CDIV%20class%3D%22NPrrbc%22%20data-cid%3D%2225bc03ee-e82e-4c00-a017-9dd9bf006b50%22%20data-uuids%3D%227073323573472920590%2C7073323573472921267%2C7073323573472921944%22%3E%0A%3CDIV%20class%3D%22BMebGe%20btku5b%20fCrZyc%20LwdV0e%20FR7ZSc%20qVhvac%20OJeuxf%22%20tabindex%3D%220%22%20role%3D%22button%22%20aria-label%3D%22Ver%20v%C3%ADnculos%20relacionados%22%20data-hveid%3D%22CAUQAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQ3fYKegQIBRAB%22%3E%0A%3CDIV%20class%3D%22niO4u%22%3E%0A%3CDIV%20class%3D%22kHtcsd%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%20style%3D%22animation%3A%20none%20!important%3B%22%3E%0A%3CDIV%20class%3D%22rPeykc%22%20data-hveid%3D%22CAMQAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQo_EKegQIAxAB%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%20style%3D%22animation%3A%20none%20!important%3B%22%3E%0A%3CDIV%20class%3D%22rPeykc%22%20data-hveid%3D%22CAoQAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQo_EKegQIChAB%22%3E%3CSPAN%20data-huuid%3D%221325860628163946508%22%3EHere's%20a%20breakdown%20of%20the%20potential%20issues%20and%20how%20to%20fix%20them%3A%20%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%20style%3D%22animation%3A%20none%20!important%3B%22%3E%0A%3CDIV%20class%3D%22rPeykc%20pyPiTc%22%20data-hveid%3D%22CAsQAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQo_EKegQICxAB%22%3E%3CSPAN%20data-huuid%3D%221325860628163947426%22%3E1.%20Missing%20or%20Misplaced%20AIDL%20File%3A%20%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%20style%3D%22animation%3A%20none%20!important%3B%22%3E%0A%3CUL%20data-hveid%3D%22CBgQAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQm_YKegQIGBAB%22%3E%0A%3CLI%3E%3CSPAN%20data-huuid%3D%221325860628163944707%22%3E%3CSTRONG%3ECheck%20the%20file%3A%3C%2FSTRONG%3E%20%3C%2FSPAN%3E%3CSPAN%20data-huuid%3D%221325860628163945166%22%3EVerify%20that%20an%20%3CCODE%20class%3D%22mv6bHd%22%3Eactivity.aidl%3C%2FCODE%3E%20file%20exists.%20%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20data-huuid%3D%221325860628163946084%22%3E%3CSTRONG%3ECheck%20the%20directory%3A%3C%2FSTRONG%3E%20%3C%2FSPAN%3E%3CSPAN%20data-huuid%3D%221325860628163946543%22%3EEnsure%20the%20%3CCODE%20class%3D%22mv6bHd%22%3Eactivity.aidl%3C%2FCODE%3E%20file%20is%20placed%20within%20the%20%3CCODE%20class%3D%22mv6bHd%22%3Esrc%2Fmain%2Faidl%3C%2FCODE%3E%20directory%20of%20your%20Android%20project%2C%20or%20the%20appropriate%20source%20set%20if%20you're%20using%20custom%20source%20sets.%20%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20data-huuid%3D%221325860628163947461%22%3E%3CSTRONG%3EPackage%20structure%3A%3C%2FSTRONG%3E%20%3C%2FSPAN%3E%3CSPAN%20data-huuid%3D%221325860628163947920%22%3EThe%20AIDL%20file's%20package%20declaration%20(e.g.%2C%20%3CCODE%20class%3D%22mv6bHd%22%3Epackage%20com.example.app.aidl%3B%3C%2FCODE%3E)%20must%20match%20the%20directory%20structure%20where%20it's%20located.%20%3C%2FSPAN%3E%3CSPAN%20data-huuid%3D%221325860628163948379%22%3EIf%20the%20file%20is%20in%20%3CCODE%20class%3D%22mv6bHd%22%3Esrc%2Fmain%2Faidl%2Fcom%2Fexample%2Fapp%2F%3C%2FCODE%3E%2C%20the%20package%20declaration%20should%20be%20%3CCODE%20class%3D%22mv6bHd%22%3Epackage%20com.example.app.aidl%3B%3C%2FCODE%3E.%3CSPAN%20class%3D%22pjBG2e%22%20data-cid%3D%2204001c57-9b21-4767-8165-2a3cd69eb592%22%3E%3CSPAN%20class%3D%22UV3uM%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%0A%3CDIV%20class%3D%22NPrrbc%22%20data-cid%3D%2204001c57-9b21-4767-8165-2a3cd69eb592%22%20data-uuids%3D%221325860628163944707%2C1325860628163945166%2C1325860628163946084%2C1325860628163946543%2C1325860628163947461%2C1325860628163947920%2C1325860628163948379%22%3E%0A%3CDIV%20class%3D%22BMebGe%20btku5b%20fCrZyc%20LwdV0e%20FR7ZSc%20qVhvac%20OJeuxf%22%20tabindex%3D%220%22%20role%3D%22button%22%20aria-label%3D%22Ver%20v%C3%ADnculos%20relacionados%22%20data-hveid%3D%22CBMQAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQ3fYKegQIExAB%22%3E%0A%3CDIV%20class%3D%22niO4u%22%3E%0A%3CDIV%20class%3D%22kHtcsd%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%20style%3D%22animation%3A%20none%20!important%3B%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%20style%3D%22animation%3A%20none%20!important%3B%22%3E%0A%3CDIV%20class%3D%22rPeykc%20pyPiTc%22%20data-hveid%3D%22CB4QAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQo_EKegQIHhAB%22%3E%3CSPAN%20data-huuid%3D%225424812522083853793%22%3E2.%20Build%20System%20Configuration%20(Android%20Gradle%20Plugin)%3A%20%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%20style%3D%22animation%3A%20none%20!important%3B%22%3E%0A%3CUL%20data-hveid%3D%22CB8QAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQm_YKegQIHxAB%22%3E%0A%3CLI%3E%3CSPAN%20data-huuid%3D%225424812522083854690%22%3E%3CSTRONG%3EEnable%20AIDL%3A%3C%2FSTRONG%3E%20%3C%2FSPAN%3E%3CSPAN%20data-huuid%3D%225424812522083854989%22%3EMake%20sure%20the%20%3CCODE%20class%3D%22mv6bHd%22%3Eaidl%3C%2FCODE%3E%20build%20feature%20is%20enabled%20in%20your%20%3CCODE%20class%3D%22mv6bHd%22%3Eapp%2Fbuild.gradle%3C%2FCODE%3E%20file.%3CSPAN%20class%3D%22pjBG2e%22%20data-cid%3D%2263121e9b-6675-45c6-bcd8-b2c61127c823%22%3E%3CSPAN%20class%3D%22UV3uM%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%20style%3D%22animation%3A%20none%20!important%3B%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%20style%3D%22animation%3A%20none%20!important%3B%22%3E%0A%3CDIV%3E%0A%3CDIV%20class%3D%22ecCNFc%22%3E%0A%3CDIV%20class%3D%22zYSUYd%22%3E%0A%3CDIV%20class%3D%22FS7GEb%22%3E%0A%3CDIV%20class%3D%22dDrxod%22%3E%0A%3CDIV%20class%3D%22x7ndcb%22%3E%3CSPAN%3EC%C3%B3digo%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WDoJJe%22%20aria-live%3D%22polite%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%20style%3D%22animation%3A%20none%20!important%3B%22%3E%0A%3CDIV%3E%0A%3CDIV%20class%3D%22ecCNFc%22%3E%0A%3CDIV%20class%3D%22QQjpRc%22%3E%0A%3CDIV%20class%3D%22FS7GEb%22%3E%0A%3CPRE%3E%3CCODE%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQjZIMegQIKRAC%22%3E%3CSPAN%3E%20%20%20%20android%20%7B%3C%2FSPAN%3E%3CBR%20aria-hidden%3D%22true%22%20%2F%3E%3CSPAN%3E%20%20%20%20%20%20%20%20buildFeatures%20%7B%3C%2FSPAN%3E%3CBR%20aria-hidden%3D%22true%22%20%2F%3E%3CSPAN%3E%20%20%20%20%20%20%20%20%20%20%20%20aidl%20true%3C%2FSPAN%3E%3CBR%20aria-hidden%3D%22true%22%20%2F%3E%3CSPAN%3E%20%20%20%20%20%20%20%20%7D%3C%2FSPAN%3E%3CBR%20aria-hidden%3D%22true%22%20%2F%3E%3CSPAN%3E%20%20%20%20%7D%3C%2FSPAN%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%20style%3D%22animation%3A%20none%20!important%3B%22%3E%0A%3CUL%20data-hveid%3D%22CC8QAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQm_YKegQILxAB%22%3E%0A%3CLI%3E%3CSPAN%20data-huuid%3D%221325860628163945660%22%3E%3CSTRONG%3ESource%20sets%3A%3C%2FSTRONG%3E%20%3C%2FSPAN%3E%3CSPAN%20data-huuid%3D%221325860628163946119%22%3EIf%20you%20are%20using%20custom%20source%20sets%2C%20you%20might%20need%20to%20specify%20the%20source%20directory%20for%20AIDL%20files%20in%20the%20%3CCODE%20class%3D%22mv6bHd%22%3EsourceSets%3C%2FCODE%3E%20block.%3CSPAN%20class%3D%22pjBG2e%22%20data-cid%3D%2275935f2b-d20f-4468-bbbb-2775a7700390%22%3E%3CSPAN%20class%3D%22UV3uM%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%20style%3D%22animation%3A%20none%20!important%3B%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%20style%3D%22animation%3A%20none%20!important%3B%22%3E%0A%3CDIV%3E%0A%3CDIV%20class%3D%22ecCNFc%22%3E%0A%3CDIV%20class%3D%22zYSUYd%22%3E%0A%3CDIV%20class%3D%22FS7GEb%22%3E%0A%3CDIV%20class%3D%22dDrxod%22%3E%0A%3CDIV%20class%3D%22x7ndcb%22%3E%3CSPAN%3EC%C3%B3digo%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WDoJJe%22%20aria-live%3D%22polite%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%20style%3D%22animation%3A%20none%20!important%3B%22%3E%0A%3CDIV%3E%0A%3CDIV%20class%3D%22ecCNFc%22%3E%0A%3CDIV%20class%3D%22QQjpRc%22%3E%0A%3CDIV%20class%3D%22FS7GEb%22%3E%0A%3CPRE%3E%3CCODE%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQjZIMegQIMRAC%22%3E%3CSPAN%3E%20%20%20%20android%20%7B%3C%2FSPAN%3E%3CBR%20aria-hidden%3D%22true%22%20%2F%3E%3CSPAN%3E%20%20%20%20%20%20%20%20sourceSets%20%7B%3C%2FSPAN%3E%3CBR%20aria-hidden%3D%22true%22%20%2F%3E%3CSPAN%3E%20%20%20%20%20%20%20%20%20%20%20%20main%20%7B%3C%2FSPAN%3E%3CBR%20aria-hidden%3D%22true%22%20%2F%3E%3CSPAN%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20aidl%20%7B%3C%2FSPAN%3E%3CBR%20aria-hidden%3D%22true%22%20%2F%3E%3CSPAN%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20srcDirs%20'src%2Fmain%2Faidl'%3C%2FSPAN%3E%3CBR%20aria-hidden%3D%22true%22%20%2F%3E%3CSPAN%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%3C%2FSPAN%3E%3CBR%20aria-hidden%3D%22true%22%20%2F%3E%3CSPAN%3E%20%20%20%20%20%20%20%20%20%20%20%20%7D%3C%2FSPAN%3E%3CBR%20aria-hidden%3D%22true%22%20%2F%3E%3CSPAN%3E%20%20%20%20%20%20%20%20%7D%3C%2FSPAN%3E%3CBR%20aria-hidden%3D%22true%22%20%2F%3E%3CSPAN%3E%20%20%20%20%7D%3C%2FSPAN%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%20style%3D%22animation%3A%20none%20!important%3B%22%3E%0A%3CDIV%20class%3D%22rPeykc%20pyPiTc%22%20data-hveid%3D%22CDQQAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQo_EKegQINBAB%22%3E%3CSPAN%20data-huuid%3D%2214770295032130245268%22%3E3.%20Clean%20and%20Rebuild%3A%20%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%20style%3D%22animation%3A%20none%20!important%3B%22%3E%0A%3CUL%20data-hveid%3D%22CDsQAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQm_YKegQIOxAB%22%3E%0A%3CLI%3E%3CSPAN%20data-huuid%3D%2214770295032130245415%22%3EAfter%20making%20changes%20to%20the%20AIDL%20file%20or%20build%20configuration%2C%20clean%20and%20rebuild%20your%20project%20to%20ensure%20the%20changes%20are%20applied.%20%3C%2FSPAN%3E%0A%3CUL%20data-hveid%3D%22CDgQAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQm_YKegQIOBAB%22%3E%0A%3CLI%3E%3CSPAN%20data-huuid%3D%2214770295032130245562%22%3EIn%20Android%20Studio%2C%20go%20to%20%3CCODE%20class%3D%22mv6bHd%22%3EBuild%20%26gt%3B%20Clean%20Project%3C%2FCODE%3E%20and%20then%20%3CCODE%20class%3D%22mv6bHd%22%3EBuild%20%26gt%3B%20Rebuild%20Project%3C%2FCODE%3E.%3CSPAN%20class%3D%22pjBG2e%22%20data-cid%3D%22e4f9da92-8690-4a04-9a60-c38ad5e571e1%22%3E%3CSPAN%20class%3D%22UV3uM%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%0A%3CDIV%20class%3D%22NPrrbc%22%20data-cid%3D%22e4f9da92-8690-4a04-9a60-c38ad5e571e1%22%20data-uuids%3D%2214770295032130245415%2C14770295032130245562%22%3E%0A%3CDIV%20class%3D%22BMebGe%20btku5b%20fCrZyc%20LwdV0e%20FR7ZSc%20qVhvac%20OJeuxf%22%20tabindex%3D%220%22%20role%3D%22button%22%20aria-label%3D%22Ver%20v%C3%ADnculos%20relacionados%22%20data-hveid%3D%22CDcQAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQ3fYKegQINxAB%22%3E%0A%3CDIV%20class%3D%22niO4u%22%3E%0A%3CDIV%20class%3D%22kHtcsd%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%20style%3D%22animation%3A%20none%20!important%3B%22%3E%0A%3CUL%20data-hveid%3D%22CDsQAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQm_YKegQIOxAB%22%3E%0A%3CLI%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%20style%3D%22animation%3A%20none%20!important%3B%22%3E%0A%3CDIV%20class%3D%22rPeykc%20pyPiTc%22%20data-hveid%3D%22CEIQAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQo_EKegQIQhAB%22%3E%3CSPAN%20data-huuid%3D%2215306875794382665563%22%3E.%20Incremental%20Build%20(Android%20Studio)%3A%20%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CSPAN%20data-huuid%3D%2215306875794382666116%22%3EAndroid%20Studio's%20incremental%20build%20usually%20handles%20AIDL%20files%20efficiently%2C%20but%20if%20you%20encounter%20issues%2C%20try%20a%20full%20rebuild.%3CSPAN%20class%3D%22pjBG2e%22%20data-cid%3D%22b6695c8e-dba7-4b69-9881-a4eea7fccfb9%22%3E%3CSPAN%20class%3D%22UV3uM%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%0A%3CDIV%20class%3D%22NPrrbc%22%20data-cid%3D%22b6695c8e-dba7-4b69-9881-a4eea7fccfb9%22%20data-uuids%3D%2215306875794382666116%22%3E%0A%3CDIV%20class%3D%22BMebGe%20btku5b%20fCrZyc%20LwdV0e%20FR7ZSc%20qVhvac%20OJeuxf%22%20tabindex%3D%220%22%20role%3D%22button%22%20aria-label%3D%22Ver%20v%C3%ADnculos%20relacionados%22%20data-hveid%3D%22CEQQAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQ3fYKegQIRBAB%22%3E%0A%3CDIV%20class%3D%22niO4u%22%3E%0A%3CDIV%20class%3D%22kHtcsd%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%20style%3D%22animation%3A%20none%20!important%3B%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%20style%3D%22animation%3A%20none%20!important%3B%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%20style%3D%22animation%3A%20none%20!important%3B%22%3E%0A%3CDIV%20class%3D%22rPeykc%20pyPiTc%22%20data-hveid%3D%22CEoQAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQo_EKegQIShAB%22%3E%3CSPAN%20data-huuid%3D%2214514545086911771585%22%3E5.%20Stable%20AIDL%3A%20%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%20style%3D%22animation%3A%20none%20!important%3B%22%3E%0A%3CUL%20data-hveid%3D%22CE4QAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQm_YKegQIThAB%22%3E%0A%3CLI%3E%3CSPAN%20data-huuid%3D%2214514545086911772456%22%3EIf%20you're%20working%20with%20stable%20AIDL%2C%20ensure%20that%20all%20dependencies%20of%20your%20AIDL%20interface%20are%20also%20defined%20as%20stable%20AIDL.%20%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20data-huuid%3D%2214514545086911774402%22%3EConvert%20any%20parcelables%20to%20stable%20parcelables%20by%20defining%20their%20structure%20directly%20in%20AIDL%20files.%3CSPAN%20class%3D%22pjBG2e%22%20data-cid%3D%2271c00e61-e7dc-4bac-bafd-20645877a73a%22%3E%3CSPAN%20class%3D%22UV3uM%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%20style%3D%22animation%3A%20none%20!important%3B%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%20style%3D%22animation%3A%20none%20!important%3B%22%3E%0A%3CDIV%20class%3D%22rPeykc%20pyPiTc%22%20data-hveid%3D%22CFgQAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQo_EKegQIWBAB%22%3E%3CSPAN%20data-huuid%3D%227073323573472921808%22%3EExample%3A%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%20style%3D%22animation%3A%20none%20!important%3B%22%3E%0A%3CDIV%20class%3D%22rPeykc%20pyPiTc%22%20data-hveid%3D%22CFgQAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQo_EKegQIWBAB%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%20style%3D%22animation%3A%20none%20!important%3B%22%3E%0A%3CDIV%20class%3D%22rPeykc%20uP58nb%20MNX06c%22%20data-hveid%3D%22CFYQAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQo_EKegQIVhAB%22%3E%3CSPAN%20data-huuid%3D%227073323573472923162%22%3E%3CSPAN%20aria-level%3D%222%22%3ELet's%20say%20you%20have%20an%20AIDL%20interface%20called%20%3CCODE%20class%3D%22mv6bHd%22%3EIMyInterface%3C%2FCODE%3E%20and%20you%20want%20to%20use%20it%20in%20your%20activity.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%20style%3D%22animation%3A%20none%20!important%3B%22%3E%0A%3CDIV%20class%3D%22rPeykc%20uP58nb%20MNX06c%22%20data-hveid%3D%22CFYQAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQo_EKegQIVhAB%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%20style%3D%22animation%3A%20none%20!important%3B%22%3E%0A%3COL%20data-hveid%3D%22CFkQAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQnPYKegQIWRAB%22%3E%0A%3CLI%20value%3D%221%22%3E%3CSPAN%20data-huuid%3D%227073323573472921097%22%3ECreate%20%3CCODE%20class%3D%22mv6bHd%22%3EIMyInterface.aidl%3C%2FCODE%3E%3A%20%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%20style%3D%22animation%3A%20none%20!important%3B%22%3E%0A%3CDIV%3E%0A%3CDIV%20class%3D%22ecCNFc%22%3E%0A%3CDIV%20class%3D%22zYSUYd%22%3E%0A%3CDIV%20class%3D%22FS7GEb%22%3E%0A%3CDIV%20class%3D%22dDrxod%22%3E%0A%3CDIV%20class%3D%22x7ndcb%22%3E%3CSPAN%3EC%C3%B3digo%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WDoJJe%22%20aria-live%3D%22polite%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%20style%3D%22animation%3A%20none%20!important%3B%22%3E%0A%3CDIV%3E%0A%3CDIV%20class%3D%22ecCNFc%22%3E%0A%3CDIV%20class%3D%22QQjpRc%22%3E%0A%3CDIV%20class%3D%22FS7GEb%22%3E%0A%3CPRE%3E%3CCODE%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQjZIMegQIXxAC%22%3E%20%20%20%20%3CSPAN%20class%3D%22a7yfkb%22%3E%2F%2F%20IMyInterface.aidl%3C%2FSPAN%3E%3CBR%20aria-hidden%3D%22true%22%20%2F%3E%20%20%20%20%3CSPAN%20class%3D%22VSzkzc%22%3Epackage%3C%2FSPAN%3E%3CSPAN%3E%20com.example.app.aidl%3B%3C%2FSPAN%3E%3CBR%20aria-hidden%3D%22true%22%20%2F%3E%3CBR%20aria-hidden%3D%22true%22%20%2F%3E%20%20%20%20%3CSPAN%20class%3D%22VSzkzc%22%3Einterface%3C%2FSPAN%3E%3CSPAN%3E%20IMyInterface%20%7B%3C%2FSPAN%3E%3CBR%20aria-hidden%3D%22true%22%20%2F%3E%20%20%20%20%20%20%20%20%3CSPAN%20class%3D%22VSzkzc%22%3Evoid%3C%2FSPAN%3E%3CSPAN%3E%20doSomething()%3B%3C%2FSPAN%3E%3CBR%20aria-hidden%3D%22true%22%20%2F%3E%3CSPAN%3E%20%20%20%20%7D%3C%2FSPAN%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%3E%0A%3COL%20data-hveid%3D%22CGMQAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQnPYKegQIYxAB%22%3E%0A%3CLI%20value%3D%221%22%3E%3CSPAN%20data-huuid%3D%2215592279729642680484%22%3EPlace%20it%20in%20%3CCODE%20class%3D%22mv6bHd%22%3Esrc%2Fmain%2Faidl%2Fcom%2Fexample%2Fapp%2F%3C%2FCODE%3E%3A%3C%2FSPAN%3E%0A%3CDIV%20class%3D%22NPrrbc%22%20data-cid%3D%221b03ad84-b4c4-41b8-8c65-0d0d30687fbb%22%20data-uuids%3D%2215592279729642680484%22%3E%0A%3CDIV%20class%3D%22BMebGe%20btku5b%20fCrZyc%20LwdV0e%20FR7ZSc%20qVhvac%20OJeuxf%22%20tabindex%3D%220%22%20role%3D%22button%22%20aria-label%3D%22Ver%20v%C3%ADnculos%20relacionados%22%20data-hveid%3D%22CGEQAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQ3fYKegQIYRAB%22%3E%0A%3CDIV%20class%3D%22niO4u%22%3E%0A%3CDIV%20class%3D%22kHtcsd%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%3E%0A%3CDIV%3E%0A%3CDIV%20class%3D%22ecCNFc%22%3E%0A%3CDIV%20class%3D%22zYSUYd%22%3E%0A%3CDIV%20class%3D%22FS7GEb%22%3E%0A%3CDIV%20class%3D%22dDrxod%22%3E%0A%3CDIV%20class%3D%22x7ndcb%22%3E%3CSPAN%3EC%C3%B3digo%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WDoJJe%22%20aria-live%3D%22polite%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%3E%0A%3CDIV%3E%0A%3CDIV%20class%3D%22ecCNFc%22%3E%0A%3CDIV%20class%3D%22QQjpRc%22%3E%0A%3CDIV%20class%3D%22FS7GEb%22%3E%0A%3CPRE%3E%3CCODE%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQjZIMegQIZxAC%22%3E%3CSPAN%3E%20%20%20%20my_app%2F%3C%2FSPAN%3E%3CBR%20aria-hidden%3D%22true%22%20%2F%3E%3CSPAN%3E%20%20%20%20%E2%94%9C%E2%94%80%E2%94%80%20src%2F%3C%2FSPAN%3E%3CBR%20aria-hidden%3D%22true%22%20%2F%3E%3CSPAN%3E%20%20%20%20%E2%94%82%20%20%20%E2%94%94%E2%94%80%E2%94%80%20main%2F%3C%2FSPAN%3E%3CBR%20aria-hidden%3D%22true%22%20%2F%3E%3CSPAN%3E%20%20%20%20%E2%94%82%20%20%20%20%20%20%20%E2%94%9C%E2%94%80%E2%94%80%20aidl%2F%3C%2FSPAN%3E%3CBR%20aria-hidden%3D%22true%22%20%2F%3E%3CSPAN%3E%20%20%20%20%E2%94%82%20%20%20%20%20%20%20%E2%94%82%20%20%20%E2%94%94%E2%94%80%E2%94%80%20com%2F%3C%2FSPAN%3E%3CBR%20aria-hidden%3D%22true%22%20%2F%3E%3CSPAN%3E%20%20%20%20%E2%94%82%20%20%20%20%20%20%20%E2%94%82%20%20%20%20%20%20%20%E2%94%94%E2%94%80%E2%94%80%20example%2F%3C%2FSPAN%3E%3CBR%20aria-hidden%3D%22true%22%20%2F%3E%3CSPAN%3E%20%20%20%20%E2%94%82%20%20%20%20%20%20%20%E2%94%82%20%20%20%20%20%20%20%20%20%20%20%E2%94%94%E2%94%80%E2%94%80%20app%2F%3C%2FSPAN%3E%3CBR%20aria-hidden%3D%22true%22%20%2F%3E%3CSPAN%3E%20%20%20%20%E2%94%82%20%20%20%20%20%20%20%E2%94%82%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%E2%94%94%E2%94%80%E2%94%80%20IMyInterface.aidl%3C%2FSPAN%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%3E%0A%3COL%20data-hveid%3D%22CGkQAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQnPYKegQIaRAB%22%3E%0A%3CLI%20value%3D%221%22%3E%3CSPAN%20data-huuid%3D%224734075391785567107%22%3EEnable%20AIDL%20in%20%3CCODE%20class%3D%22mv6bHd%22%3Eapp%2Fbuild.gradle%3C%2FCODE%3E%3A%3CSPAN%20class%3D%22pjBG2e%22%20data-cid%3D%226cc7bece-06b9-4325-85ae-23873ce9807d%22%20data-ih%3D%22%22%3E%3CSPAN%20class%3D%22UV3uM%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%0A%3CDIV%20class%3D%22NPrrbc%22%20data-cid%3D%226cc7bece-06b9-4325-85ae-23873ce9807d%22%20data-uuids%3D%224734075391785567107%22%3E%0A%3CDIV%20class%3D%22BMebGe%20btku5b%20fCrZyc%20LwdV0e%20FR7ZSc%20qVhvac%20OJeuxf%22%20tabindex%3D%220%22%20role%3D%22button%22%20aria-label%3D%22Ver%20v%C3%ADnculos%20relacionados%22%20data-hveid%3D%22CGoQAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQ3fYKegQIahAB%22%3E%0A%3CDIV%20class%3D%22niO4u%22%3E%0A%3CDIV%20class%3D%22kHtcsd%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%3E%0A%3COL%20data-hveid%3D%22CGkQAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQnPYKegQIaRAB%22%3E%0A%3CLI%20value%3D%221%22%3E%26nbsp%3B%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%3E%0A%3CDIV%3E%0A%3CDIV%20class%3D%22ecCNFc%22%3E%0A%3CDIV%20class%3D%22zYSUYd%22%3E%0A%3CDIV%20class%3D%22FS7GEb%22%3E%0A%3CDIV%20class%3D%22dDrxod%22%3E%0A%3CDIV%20class%3D%22x7ndcb%22%3E%3CSPAN%3EC%C3%B3digo%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WDoJJe%22%20aria-live%3D%22polite%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%3E%0A%3CDIV%3E%0A%3CDIV%20class%3D%22ecCNFc%22%3E%0A%3CDIV%20class%3D%22QQjpRc%22%3E%0A%3CDIV%20class%3D%22FS7GEb%22%3E%0A%3CPRE%3E%3CCODE%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQjZIMegQIbRAC%22%3E%3CSPAN%3E%20%20%20%20android%20%7B%3C%2FSPAN%3E%3CBR%20aria-hidden%3D%22true%22%20%2F%3E%3CSPAN%3E%20%20%20%20%20%20%20%20buildFeatures%20%7B%3C%2FSPAN%3E%3CBR%20aria-hidden%3D%22true%22%20%2F%3E%3CSPAN%3E%20%20%20%20%20%20%20%20%20%20%20%20aidl%20true%3C%2FSPAN%3E%3CBR%20aria-hidden%3D%22true%22%20%2F%3E%3CSPAN%3E%20%20%20%20%20%20%20%20%7D%3C%2FSPAN%3E%3CBR%20aria-hidden%3D%22true%22%20%2F%3E%3CSPAN%3E%20%20%20%20%7D%3C%2FSPAN%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%3E%0A%3COL%20data-hveid%3D%22CG8QAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQnPYKegQIbxAB%22%3E%0A%3CLI%20value%3D%221%22%3E%3CSPAN%20data-huuid%3D%2210243939098318170308%22%3E%3CSTRONG%3EClean%20and%20Rebuild.%3C%2FSTRONG%3E%3CSPAN%20class%3D%22pjBG2e%22%20data-cid%3D%22fd702000-b9e3-444c-9319-83e527befa2a%22%20data-ih%3D%22%22%3E%3CSPAN%20class%3D%22UV3uM%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%0A%3CDIV%20class%3D%22NPrrbc%22%20data-cid%3D%22fd702000-b9e3-444c-9319-83e527befa2a%22%20data-uuids%3D%2210243939098318170308%22%3E%0A%3CDIV%20class%3D%22BMebGe%20btku5b%20fCrZyc%20LwdV0e%20FR7ZSc%20qVhvac%20OJeuxf%22%20tabindex%3D%220%22%20role%3D%22button%22%20aria-label%3D%22Ver%20v%C3%ADnculos%20relacionados%22%20data-hveid%3D%22CHAQAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQ3fYKegQIcBAB%22%3E%0A%3CDIV%20class%3D%22niO4u%22%3E%0A%3CDIV%20class%3D%22kHtcsd%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%3E%0A%3COL%20data-hveid%3D%22CG8QAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQnPYKegQIbxAB%22%3E%0A%3CLI%20value%3D%221%22%3E%26nbsp%3B%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22WaaZC%22%3E%0A%3CDIV%20class%3D%22RJPOee%20EIJn2%22%3E%0A%3CDIV%20class%3D%22rPeykc%22%20data-hveid%3D%22CHYQAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQo_EKegQIdhAB%22%3E%3CSPAN%20data-huuid%3D%223527624410120248109%22%3EBy%20following%20these%20steps%2C%20you%20should%20be%20able%20to%20resolve%20the%20%22Could%20not%20find%20'aidl%2Factivity'%22%20error%20and%20successfully%20use%20your%20AIDL%20interface%20in%20your%20Android%20project.%3CSPAN%20class%3D%22pjBG2e%22%20data-cid%3D%220529ac40-f3b2-4064-8167-dd815d54a13c%22%3E%3CSPAN%20class%3D%22UV3uM%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%0A%3CDIV%20class%3D%22NPrrbc%22%20data-cid%3D%220529ac40-f3b2-4064-8167-dd815d54a13c%22%20data-uuids%3D%223527624410120248109%22%3E%0A%3CDIV%20class%3D%22BMebGe%20btku5b%20fCrZyc%20LwdV0e%20FR7ZSc%20qVhvac%20OJeuxf%22%20tabindex%3D%220%22%20role%3D%22button%22%20aria-label%3D%22Ver%20v%C3%ADnculos%20relacionados%22%20data-hveid%3D%22CHkQAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQ3fYKegQIeRAB%22%3E%0A%3CDIV%20class%3D%22niO4u%22%3E%0A%3CDIV%20class%3D%22kHtcsd%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22rPeykc%22%20data-hveid%3D%22CHYQAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQo_EKegQIdhAB%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20class%3D%22rPeykc%22%20data-hveid%3D%22CHYQAQ%22%20data-ved%3D%222ahUKEwjN0tHJi4iOAxU1JNAFHf2MATcQo_EKegQIdhAB%22%3E%3CSPAN%20data-huuid%3D%223527624410120248109%22%3E%3CSPAN%20class%3D%22pjBG2e%22%20data-cid%3D%220529ac40-f3b2-4064-8167-dd815d54a13c%22%3E%3CSPAN%20class%3D%22UV3uM%22%3Ereegards%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E