未定义对'android :: Parcel :: writeString16(char16_t const *,unsigned int)的引用'

时间:2019-01-28 14:24:26

标签: android c++

我正在玩android开发,并且在“ return”行遇到了指定的错误。

C ++不是我的游乐场,因此,欢迎您的帮助...;-)

#include <stdint.h>
#include <utils/Errors.h>

namespace android
{
    /* status_t Parcel::writeString16 */
// android::Parcel::writeString16(char16_t const*, unsigned int) (bt): 2019-01-26
    extern "C" status_t _ZN7android6Parcel13writeString16EPKDsj(const char16_t* str, size_t len);
// android::Parcel::writeString16(unsigned short const*, unsigned int) (bt): 2019-01-26
    extern "C" status_t _ZN7android6Parcel13writeString16EPKtj(const char16_t* str, size_t len)
    {
// android::Parcel::writeString16(char16_t const*, unsigned int) (bt): 2019-01-26
        return _ZN7android6Parcel13writeString16EPKDsj(str, len);
    }
};

0 个答案:

没有答案