在android 源码里 编译 aidl 报错 的问题



今天编译的时候,碰到一个这个问题。

aidl can only generate code for interfaces, not parcelables,
aidl files that only declare parcelables don't need to go in the Makefile.


首先 在source里,需要添加一个这个parcelables的具体实现的java文件。

注意:在 Android.mk 里,在 LOCAL_SRC_FILES 变量里 不要添加 报错的aidl文件;











原文地址:https://www.cnblogs.com/liulaolaiu/p/11744485.html