Hi,
Thanks Tim, Davi for your response.
I have build the android_api following Davi's steps. But while building
examples I am getting the
following error. I need to setup something to build examples? pretty new
to gradle build system..:(
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':fridgeclient'.
> A problem occurred configuring project ':message'.
> Could not resolve all dependencies for configuration
':message:_debugCompile'.
> Could not find com.android.support:appcompat-v7:21.0.3.
Searched in the following locations:
https://jcenter.bintray.com/com/android/support/appcompat-v7/21.0.3/appcompat-v7-21.0.3.pom
https://jcenter.bintray.com/com/android/support/appcompat-v7/21.0.3/appcompat-v7-21.0.3.jar
Required by:
examples:message:unspecified
Regards
Sandeep
On Mon, Mar 30, 2015 at 11:09 PM, Keane, Erich <erich.keane at intel.com>
wrote:
> Let me know when you get it in, if all looks good on my build, I can
> push that to android-api quickly if it is a blocking issue.
>
>
> On Mon, 2015-03-30 at 17:35 +0000, Kourt, Tim A wrote:
> > Sandeep,
> >
> >
> >
> > Apparently, a trigger for the android build was removed during this
> > merge:
> >
> > https://gerrit.iotivity.org/gerrit/#/c/570/3/SConstruct
> >
> >
> >
> > We will re-examine the file and expect to push a solution shortly.
> >
> >
> >
> > Best regards,
> >
> >
> >
> > Tim
> >
> >
> >
> >
> >
> > From: iotivity-dev-bounces at lists.iotivity.org
> > [mailto:iotivity-dev-bounces at lists.iotivity.org] On Behalf Of Sandeep
> > Sharma
> > Sent: Monday, March 30, 2015 4:56 AM
> > To: iotivity-dev at lists.iotivity.org; Davi Di?rio Mendes
> > Subject: Re: [dev] android gradle wraper jar is missing
> >
> >
> >
> > 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
> >
> >
> >
> >
> > _______________________________________________
> > iotivity-dev mailing list
> > iotivity-dev at lists.iotivity.org
> > https://lists.iotivity.org/mailman/listinfo/iotivity-dev
>
>
--
Regards
Sandeep Sharma
Samsung Research Delhi
India
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150331/bf235c69/attachment.html>