android aidl-cpp方式接口调用出现问题

android aidl-cpp方式:

java client 端调用接口: return mPoiGateWayService.hasHomeLocation();

C++ service端实现接口: 
Status hasHomeLocation(bool* _aidl_return) override {
ALOGI("Entering hasHomeLocation");
*_aidl_return = true;
return Status::ok();
}

aidl 声明的接口:  boolean hasHomeLocation();

问题:为啥java端接口调用的时候报错:  I apkPoiTest: call cns hasHomeLocation fail: java.lang.IllegalArgumentException

https://blog.csdn.net/hejianhua1/article/details/80549770