Hi Tim,

thanks for your help. now, it works fine. and i can successfully build
android for x86_64 architecture.
however i had another favor to ask, i want deploy simple client apk on a
real  android device, whenever i do that the app did not work.

minSdkVersion 11
targetSdkVersion 21

this is from my build gradle file and the phone running kitkat android.

did any one tried it and it worked?? any help will be really appreciated.

Thanks


On Thu, Aug 13, 2015 at 2:48 PM, Kourt, Tim A <tim.a.kourt at intel.com> wrote:

> Hi Mohamed,
>
>
>
> Here is the patch that enables x86_64 build for Android:
>
> https://gerrit.iotivity.org/gerrit/2201
>
>
>
> Thank you for reporting the issue,
>
> Tim
>
>
>
>
>
> *From:* iotivity-dev-bounces at lists.iotivity.org [mailto:
> iotivity-dev-bounces at lists.iotivity.org] *On Behalf Of *Mohamed Seliem
> *Sent:* Monday, August 10, 2015 3:35 AM
> *To:* iotivity-dev at lists.iotivity.org
> *Subject:* [dev] building iotivity for android os. X86_64
>
>
>
>
> Hello all,
>
> i need some help with building the platform for android os. target and
> x86_64 architecture.
>
> i tried this command:
> scons TARGET_OS=android TARGET_ARCH=x86_64 TARGET_TRANSPORT=IP
>
> and i got this error.
> Linking
> out/android/x86_64/release/resource/csdk/connectivity/src/libconnectivity_abstraction.so
> out/android/x86_64/release/libc_compat.a(c_compat.c.o):c_compat.c:function
> getpagesize:
> error: undefined reference to '__page_size'
> out/android/x86_64/release/libc_compat.a(c_compat.c.o):c_compat.c:function
> __getpageshift:
> error: undefined reference to '__page_shift'
> collect2: error: ld returned 1 exit status
> scons: ***
> [out/android/x86_64/release/resource/csdk/connectivity/src/libconnectivity_abstraction.so]
> Error 1
> scons: building terminated because of errors.
>
> obviously, it is linking problem (libconnectivity_abstraction.so).
>
> can anyone help with this.
>
>
>
> p.s.  i successfully compiled the platform for linux os. , also for
> android but for  armebai-v7a arch.
>
> Thanks
>
>
>
> --
>
> Eng.Mohamed Seliem
> E-mail: mseliem11 at gmail.com
> Mob. +201145011025
>



-- 
Eng.Mohamed Seliem
E-mail: mseliem11 at gmail.com
Mob. +201145011025
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150815/ebf22ada/attachment.html>

Reply via email to