首页 新闻 会员 周边 捐助

Android 程序如何添加本地系统服务报错??求解决

0
悬赏园豆:5 [待解决问题]

target thumb C++: libhelloworld <= frameworks/native/libs/helloworld/HelloWorldService.cpp
target SharedLib: libhelloworld (out/target/product/rk3288/obj/SHARED_LIBRARIES/libhelloworld_intermediates/LINKED/libhelloworld.so)
frameworks/native/libs/helloworld/IHelloWorldService.cpp:25: error: undefined reference to 'android::Parcel::Parcel()'
frameworks/native/libs/helloworld/IHelloWorldService.cpp:25: error: undefined reference to 'android::Parcel::Parcel()'
frameworks/native/libs/helloworld/IHelloWorldService.cpp:27: error: undefined reference to 'android::Parcel::writeInterfaceToken(android::String16 const&)'
frameworks/native/libs/helloworld/IHelloWorldService.cpp:29: error: undefined reference to 'android::Parcel::writeCString(char const*)'
frameworks/native/libs/helloworld/IHelloWorldService.cpp:35: error: undefined reference to '__android_log_print'
frameworks/native/libs/helloworld/IHelloWorldService.cpp:38: error: undefined reference to 'android::Parcel::readInt32() const'
frameworks/native/libs/helloworld/IHelloWorldService.cpp:25: error: undefined reference to 'android::Parcel::~Parcel()'
frameworks/native/libs/helloworld/IHelloWorldService.cpp:42: error: undefined reference to 'android::Parcel::~Parcel()'
frameworks/native/libs/helloworld/IHelloWorldService.cpp:49: error: undefined reference to 'android::IInterface::~IInterface()'
frameworks/native/libs/helloworld/IHelloWorldService.cpp:49: error: undefined reference to 'android::RefBase::~RefBase()'
frameworks/native/libs/helloworld/IHelloWorldService.cpp:55: error: undefined reference to 'android::Parcel::checkInterface(android::IBinder*) const'
frameworks/native/libs/helloworld/IHelloWorldService.cpp:57: error: undefined reference to 'android::Parcel::readCString() const'
frameworks/native/libs/helloworld/IHelloWorldService.cpp:59: error: undefined reference to 'android::Parcel::writeInt32(int)'
frameworks/native/libs/helloworld/IHelloWorldService.cpp:63: error: undefined reference to 'android::BBinder::onTransact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)'
system/core/include/utils/String16.h:193: error: undefined reference to 'strzcmp16'

dyhui1992的主页 dyhui1992 | 初学一级 | 园豆:4
提问于:2015-10-21 14:45
< >
分享
所有回答(1)
0

库文件未加

dyhui1992 | 园豆:4 (初学一级) | 2015-10-23 10:36
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册