Hi Madan,
You could link the base .aar file directly from Easysetup build.gradle.
You may do something along the following lines:
repositories {
    flatDir {
        dirs "<IOTIVITY>/android_api/base/build/outputs/aar/"
    }
}

try {
    dependencies {
        compile ":iotivity-base-${TARGET_ARCH}-${RELEASE}@aar"
    }
} catch (all) {
    print "${ERROR_MSG}"
    assert all
}
Thanks,
Tim
From: iotivity-dev-bounces at lists.iotivity.org 
[mailto:[email protected]] On Behalf Of Madan Kanth Lanka
Sent: Wednesday, May 18, 2016 1:51 AM
To: ??? <friend3455 at gmail.com>; iotivity-dev at lists.iotivity.org
Subject: Re: [dev] Android Studio Error - 
"Build_Instructions_Android_Arduino.txt"


Hi,



Easysetup is dependent on the following .aar files as mentioned in steps 2.b & 
2.c



b) EasySetupCore is dependent on the .aar files generated in 1.b
        1) To add an .aar file to the 'EasySetupCore' project,
            a.Right click on EasySetup->New->Module->Import .JAR or .AAR Package
            b.Select the .aar file(iotivity-armeabi-base-*.aar) from the 
location in steps 1.b
            c.Right click on EasySetup->Open Module Settings
            d.Select each sample app module under 
'Modules'->Dependencies->Add->Module Dependency

c)    Build EasySetupCore project using "Android Studio->Build->Make Module 
"easySetupCore"
        If the project is setup correctly, you should see a BUILD SUCCESSFUL in 
the Android Studio Gradle Build terminal
            You should see the .aar file generated inside of
            
'iotivity/service/easy-setup/mediator/richsdk/android/easySetupCore/build/outputs/aar'







Thanks,

Madan







------- Original Message -------

Sender : ???<friend3455 at gmail.com>

Date : May 18, 2016 13:47 (GMT+05:30)

Title : [dev] Android Studio Error - "Build_Instructions_Android_Arduino.txt"


Hi.

[?? ??? 1]
Have you ever seen these kind of error when compilation using android studio?

I totally don'k know how to solve this problem.
plz help!!

*) It's for easy setup. I've got these error ahen I did step a) below
[?? ??? 2]

[cid:image004.gif at 01D1B1ED.5AA95F70]

[Image removed by sender.]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160519/2266dee9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ~WRD000.jpg
Type: image/jpeg
Size: 823 bytes
Desc: ~WRD000.jpg
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160519/2266dee9/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 55513 bytes
Desc: image002.png
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160519/2266dee9/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 75440 bytes
Desc: image003.png
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160519/2266dee9/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.gif
Type: image/gif
Size: 13168 bytes
Desc: image004.gif
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160519/2266dee9/attachment.gif>

Reply via email to