Hi Ashwini,

The IoTivity build for Android supports the following architectures:

?         armeabi (default)

?         armeabi-v7a

?         x86

?         x86_64

Therefore, one may use the following build parameter for Android:

                TARGET_ARCH=armeabi

For more build options please refer to 
https://wiki.iotivity.org/android_build_instructions

Best regards,

Tim Kourt
Intel Open Source Technology Center


From: iotivity-dev-bounces at lists.iotivity.org 
[mailto:[email protected]] On Behalf Of Ashwini Sharma
Sent: Wednesday, June 8, 2016 10:15 AM
To: Manoj Verma <manoj.kumar.mbm at gmail.com>
Cc: iotivity-dev <iotivity-dev at lists.iotivity.org>
Subject: Re: [dev] Help with building IoTivity 1.1.0 samples on Android


Do use TARGET_ARCH=arm on build command to build for android device. Default is 
x86 target
On 8 Jun 2016 22:29, "Manoj Verma" <manoj.kumar.mbm at 
gmail.com<mailto:manoj.kumar.mbm at gmail.com>> wrote:
Hello Max,

Recently i build Iotivity stack on Ubuntu and android .
And successfully communicate between Ubuntu server and Android client.

LINUX stack : scons
Android stack: scons TARGET_OS=android

You will get examples at: 
iotivity-1.1.0/android/examples/simpleserver/build/outputs/apk/

Manoj Kumar(NEC technologies)




On Wed, Jun 8, 2016 at 8:31 PM, Max Kholmyansky <max001 at 
gmail.com<mailto:max001 at gmail.com>> wrote:
Hello,

Will greatly appreciate any help:

I downloaded the 1.1.0 IoTivity source code distribution, and managed 
successfully to run the samples on Linux. But unfortunately not on Android.

I am following the "Step 1" and "Step 2" instructions from:
https://wiki.iotivity.org/android_build_instructions

After running from the root:
scons TARGET_OS=android ANDROID_HOME=... GRADLE_HOME=...
I get no build errors.

But looks like all the build results are under:
~/iotivity-1.1.0/out/android/x86/release

Unlike mentioned in the instructions, the output folders of 'android_api' and 
'examples' are missing.

Any hint how to build them will be appreciated.

Thanks a lot.


Max (Tekoia Ltd)

_______________________________________________
iotivity-dev mailing list
iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at lists.iotivity.org>
https://lists.iotivity.org/mailman/listinfo/iotivity-dev


_______________________________________________
iotivity-dev mailing list
iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at lists.iotivity.org>
https://lists.iotivity.org/mailman/listinfo/iotivity-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160608/5c256274/attachment.html>

Reply via email to