Hi Sandeep.

After building IoTivity, you must build the android api.

Go to android-api root and *$ gradle build*. I think this is the command,
I'm not on my pc now.

You need at least gradle 2.2.1, if my memory not fails, and android build
tools api 20. Do not works with a newer api.

Gradle will give you the BUILD SUCESSFULL message.

BR.

2015-03-30 8:56 GMT-03:00 Sandeep Sharma <sandeep.jack2756 at gmail.com>:

> Hello Davi , All
>
>  I pulled android-api branch today and tried to build for android. I
> followed the steps mentioned in
>  android/BuildInstructionsForAndroidAPI.txt. I have few concerns.
>
> 1. When I tried to build with RELEASE=0, the build failed.
> 2. Then I have tried with RELEASE=1. The build was successful but I did
> not get message "BUILD SUCCESSFUL"
>     as mentioned in build instruction doc (point 5.d), instead I got "done
> building targets".
> 3. I got deps and out folder with all the libraries(.a and .so's) but did
> not got .jar and .aar files at path mentioned at  point 5.e in the doc. I
> think it did not hit the gradle build.
>
> Am I missing some thing. (my gradle version is Gradle 1.0-milestone-3)
>
> Regards
> Sandeep
>
> On Fri, Mar 27, 2015 at 7:59 PM, Davi Di?rio Mendes <
> ddioriomendes at gmail.com> wrote:
>
>> Hi,
>>
>> I did like Patrick told, it worked.
>>
>> I just found one issue. According to
>> BuildInstructionsForAndroidAPI.txt:23 *"Note: To build in debug mode,
>> use RELEASE=0"*. But I first used *$ scons TARGET_OS=android
>> TARGET_ARCH=armeabi RELEASE=0* and the boost build fails. When I tried *$
>> scons TARGET_OS=android TARGET_ARCH=armeabi RELEASE=1*, all went fine.
>>
>> Thanks for support.
>>
>>
>>
>> 2015-03-26 21:58 GMT-03:00 ???(Uze Choi) <uzchoi at samsung.com>:
>>
>> Hi Davi,
>>>
>>>
>>>
>>> Caiwen is the committer for this external library automatic downloading
>>> and installation.
>>>
>>> You?d better to ask him to update this feature.
>>>
>>>
>>>
>>> BR, Uze Choi
>>>
>>> *From:* iotivity-dev-bounces at lists.iotivity.org [mailto:
>>> iotivity-dev-bounces at lists.iotivity.org] *On Behalf Of *Davi Diorio
>>> Mendes
>>> *Sent:* Thursday, March 26, 2015 9:26 PM
>>> *To:* Lankswert, Patrick
>>> *Cc:* iotivity-dev at lists.iotivity.org
>>> *Subject:* Re: [dev] android gradle wraper jar is missing
>>>
>>>
>>>
>>> Hi Patrick,
>>>
>>> I can't build iotivity. Could you check my log?
>>>
>>> I ran $ scons TARGET_OS=android TARGET_ARCH=armeabi, on iotivity root.
>>> The branch is android-api.
>>>
>>> The output is attached.
>>>
>>> Before I set ANDROID_NDK, ANDROID_HOME and platform.
>>>
>>> The first time I also set PATH to the properly toolchain, in this log I
>>> didn't.
>>>
>>> I also downloaded and installed boost 1.57, but scons still wants to
>>> download it.
>>>
>>> BR, Davi.
>>>
>>>
>>>
>>> 2015-03-25 12:49 GMT-03:00 Davi Di?rio Mendes <ddioriomendes at gmail.com>:
>>>
>>> Hi Patrick,
>>>
>>> I was working on master. Now I saw the
>>> BuildInstructionsForAndroidAPI.txt, on android-api branch.
>>>
>>>
>>> I'll try follow these steps, any problem I come back.
>>>
>>> Thank you for attention.
>>>
>>>
>>>
>>>
>>>
>>> 2015-03-25 11:36 GMT-03:00 Lankswert, Patrick <
>>> patrick.lankswert at intel.com>:
>>>
>>>
>>>
>>> Davi,
>>>
>>>
>>>
>>> Welcome. I have two questions:
>>>
>>> 1)      What version do you want to review the current API or the new
>>> API?
>>>
>>> 2)      What branch did you pull from?
>>>
>>>
>>>
>>> Pat
>>>
>>>
>>>
>>> *From:* iotivity-dev-bounces at lists.iotivity.org [mailto:
>>> iotivity-dev-bounces at lists.iotivity.org] *On Behalf Of *Davi Di?rio
>>> Mendes
>>> *Sent:* Wednesday, March 25, 2015 8:34 AM
>>> *To:* iotivity-dev at lists.iotivity.org
>>> *Subject:* [dev] android gradle wraper jar is missing
>>>
>>>
>>>
>>> Hi,
>>>
>>> I'm trying to build android/Base but the gradle wrapper jar is missing.
>>>
>>> Someone could help me?
>>>
>>> I want to build android/Base as a .jar library and import in my project,
>>> just to check how to use it.
>>>
>>> Thanks.
>>>
>>> --
>>>
>>> *Davi Di?rio Mendes*
>>> Eng. de Computa??o - Turma de 2011
>>> Universidade de S?o Paulo - EESC/ICMC
>>>
>>>
>>>
>>>
>>> --
>>>
>>> *Davi Di?rio Mendes*
>>> Eng. de Computa??o - Turma de 2011
>>> Universidade de S?o Paulo - EESC/ICMC
>>>
>>>
>>>
>>>
>>> --
>>>
>>> *Davi Di?rio Mendes*
>>> Eng. de Computa??o - Turma de 2011
>>> Universidade de S?o Paulo - EESC/ICMC
>>>
>>
>>
>>
>> --
>> *Davi Di?rio Mendes*
>> Eng. de Computa??o - Turma de 2011
>> Universidade de S?o Paulo - EESC/ICMC
>>
>> _______________________________________________
>> iotivity-dev mailing list
>> iotivity-dev at lists.iotivity.org
>> https://lists.iotivity.org/mailman/listinfo/iotivity-dev
>>
>>
>


-- 
*Davi Di?rio Mendes*
Eng. de Computa??o - Turma de 2011
Universidade de S?o Paulo - EESC/ICMC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150330/acdffb03/attachment.html>

Reply via email to