Closed timipig closed 2 weeks ago
You'll need to file a platform bug following http://b.android.com (the frameworks component, probably). We don't own the APIs, and these headers actually are only in the NDK due to a historical accident anyway (that's really a helper library for aidl; it's not a platform API).
Description
When I use the following code and compile in cmake the following error is triggered
I found out that the reason is that the overloaded function AParcel_writeVector does not support vector, but the other AParcel_writeByteArray function provided by the NDK does support vector. AParcel_writexxxArray is used inside the AParcel_writeVector function, so I don't understand why AParcel_writeVector supports vector but not vector。