为什么会想写这篇文章,只因为一个 error。”aidl.exe E 4928 5836 type_namespace.cpp:130] ‘Book’ can be an out type, so you must declare it as in, out or inout. “看过上一篇文章 Android:IPC 之 AIDL 的学习和总结的同学都知道这是因为在 AIDL 文件中使用非常规类型作为参数传递的时候没有标记指向 tag,那么到底为什么会是这样子的呢,作为一个好奇宝宝我想好好看看。