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> 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> 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 >> https://lists.iotivity.org/mailman/listinfo/iotivity-dev >> >> > > _______________________________________________ > iotivity-dev mailing list > 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/b45ded45/attachment.html>
