failed to build HealthService in AndroidSample

77 views
Skip to first unread message

Eric

unread,
Oct 13, 2015, 8:49:18 AM10/13/15
to Antidote: open-source IEEE 11073 stack
when I got the code from github and import project HealthServiceActivity into my ADT ,config the ndk. Everythig goes smoothly,but the ndk-build log only like this :

[armeabi] Gdbserver      : [arm-linux-androideabi-4.6] libs/armeabi/gdbserver
[armeabi] Gdbsetup       : libs/armeabi/gdb.setup
[armeabi] Compile thumb  : antidotemanager <= manager.c
[armeabi] Compile thumb  : antidotemanager <= agent.c
[armeabi] StaticLibrary  : libantidotemanager.a

So , i did not get the thread.so in folder "libs" as the manual described 

this problem cost me almost one day. I both compile it in Ubuntu12.04 and in win7. but the log is the same and results are all failed

I am so confused and not know where is the problem.

P.S.
this environment is adt-bundle-x86_64, ndk is android-ndk-r9d
I make dir "antidote" under jni and copy files in src to antidote then change Android.mk from "include $(BASE_PATH)/antidote/Android.mk" to "include $(BASE_PATH)/antidote/src/Android.mk" . that's all modifier i have done

I will appreciated every answer, Thanks

tech.req...@googlemail.com

unread,
Dec 14, 2015, 5:40:01 PM12/14/15
to Antidote: open-source IEEE 11073 stack
I have the same problem

I found the generated file is a static library and they cannot be loaded in android. Only shared libraries can be loaded in Android and I don't know how to generate them and add it into the eclipse project ...

Can someoen help us?

Thanks in advance!
rsp
Reply all
Reply to author
Forward
0 new messages