![](/img/trans.png)
[英]How to add a menu folder to the res folder of an android studio project
[英]How to add this folder that have some aidl files to my project in android studio?
我試圖在src / main中創建文件夾(aidl),然后在其中添加包(android.content.pm)並在android.content.pm中復制aidl文件( http://bayanbox.ir/info/9001803737634061870/ android )
但是我的項目仍然有錯誤,無法找到IPackageDataObserver.aidl,如您在此圖片中所見: http : //bayanbox.ir/info/230002569528299905/errpack3
我現在應該怎么辦?
這是AIDL的普遍問題。
只需嘗試清理您的代碼並重建它。 (或者只是運行帶有這些可見錯誤的應用程序)。
一旦gradle構建完成,它將正常工作。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.