thanks for your help, jay!

But i'm still in trouble with running sample..

i just followed your guide, it's saying sort of conflict in compile (it
seems due to the service  arr dependency)

I just removed the service dependency but i'm now stuck at these errors..

CALECreateJniInterfaceObject has failed

JNI DETECTED ERROR IN APPLICATION: JNI FindClass called with pending
exception java.lang.NoSuchMethodError: no non-static method
"Lorg/iotivity/service/resourcecontainer/AndroidBundleSoftSensorResource;

can you give me any helps..?

On Fri, Dec 11, 2015 at 10:49 PM, Jay Sharma <jay.sharma at samsung.com> wrote:

>
>
> Hello Kim,
>
>
>
> You might have forgot to include the libs i.e. *libDISensorBundle.so &
> libDISensorBundle.so *in the app.
>
> Please check whether you followed the following step to run the*
> RCSampleServerApp:*
>
>
>
> 1. Build Iotivity for Android platform.
>
>
>
> 2. Copy aar files into app/libs folder
>    -
> {Iotivity_root}/android/android_api/base/build/outputs/aar/iotivity-{TARGET_ARCH}-base-{MODE}.aar
>    -
> {Iotivity_root}/service/resource-encapsulation/android/service/build/outputs/aar/iotivity-{TARGET_ARCH}-service-{MODE}.aar
>    - {Iotivity_root}/service/resource-container/android/resource-container/
> build/outputs/aar/iotivity-{TARGET_ARCH}-resource-container-{MODE}.aar
>
>
>
> 3. Configure dependencies for libs in app/build.gradle
>    - default TARGET_ARCH is armeabi
>    - default MODE is release
>
>    for example, if you build Iotivity as follows,
>
>    $scons TARGET_OS=android TARGET_ARCH=x86 RELEASE=0
>
>    then, dependencies should be modified like below
>
>    dependencies {
>       compile(name:'iotivity-x86-base-debug', ext:'aar')
>       compile(name:'iotivity-x86-service-debug', ext:'aar')
>       compile(name:'iotivity-x86-resource-container-debug', ext:'aar')
>    }
>
>
>
> 4. In the app/src/main/assets/lib folder copy the following libs:
>
> *   - libBMISensorBundle.so   - libDISensorBundle.so*
>    From : {Iotivity_root}/out/android/{TARGET_ARCH}/{MODE}/
>
>
>
> *BR,*
>
> *Jay Sharma*
>
> *Samsung R&D*
>
>
>
> ------- *Original Message* -------
>
> *Sender* : Euiseok Kim<ikess0330 at gmail.com>
>
> *Date* : Dec 11, 2015 22:00 (GMT+09:00)
>
> *Title* : [dev] Stuck at running ContainerSamleApp
>
>
> For implementing a softsensor in iotivity, my team is struggling with
> understanding how we should design and code so we are trying to run the
> sample container app first.
>
> however we are stuck at this error :
> org.iotivity.service.sample.resourcecontainer E/RESOURCE_CONTAINER: Error
> while loading .so bundle: (dlopen failed: library
> "data/data/org.iotivity.service.sample.resourcecontainer/files/libDISensorBundle.so"
> not found)
>
> anyone can help me to solve this problem? i wanna know how i can locate
> the Bundle.so(i think this bundle is in
> iotivity/out/android/armeabi/release/service/resource-container) in the
> above path.
>
> thanks in advance!
>
> --
> ??? ??
>
> -------------------------------------------------------------------------
> ? ? ? (Kim Eui Seok)
> Codesign And Parallel Processing Lab (#301-456)
> School of Computer Science and Engineering,
> Seoul National University, Kwanak-Ro 1,
> Kwanak-Gu, Seoul, 151-742, Korea
> Mobile : +82-10-4124-7022
> E-mail : ikess0330 at iris.snu.ac.kr
> --------------------------------------------------------------------------
>
>
>
> with regards,
>
> Jay Sharma
>
> Advanced Research\SWC\IoT & Connectivity
>
>
>
>


-- 
??? ??

-------------------------------------------------------------------------
? ? ? (Kim Eui Seok)
Codesign And Parallel Processing Lab (#301-456)
School of Computer Science and Engineering,
Seoul National University, Kwanak-Ro 1,
Kwanak-Gu, Seoul, 151-742, Korea
Mobile : +82-10-4124-7022
E-mail : ikess0330 at iris.snu.ac.kr
--------------------------------------------------------------------------
-------------- next part --------------
HTML ?????? ??????????????...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20151212/af542c89/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 201512111918968_T9SZN3WZ.gif
Type: image/gif
Size: 13168 bytes
Desc: ?????? ?? ????????.
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20151212/af542c89/attachment.gif>

Reply via email to