jni/…/…/…/Classes/PluginIAPJSHelper.cpp:278:68: error: too few arguments to function ‘bool std_vector_string_to_jsval(JSContext*, const std::vector<std::basic_string >&, JS::MutableHandleValue)’
dataVal[0] = std_vector_string_to_jsval(cx, _productIds);
错误代码:dataVal[0] = std_vector_string_to_jsval(cx, _productIds);
我检查了一下,发现std_vector_string_to_jsval需要三个参数,而此处只有两个。
希望你们能够及时修复~