【Android平台】 Alljoyn学习笔记二 编译自带的demo的步骤
发布日期:2021-06-29 20:55:10 浏览次数:2 分类:技术文章

本文共 957 字,大约阅读时间需要 3 分钟。

BUILDING ANDROID

Setup

  1.  the following Android SDKs:

    • Core SDK (release)
    • Onboarding SDK
    • Configuration SDK
    • Notification SDK
    • Control Panel SDK
  2. Extract all ZIP files to one directory.

Build Samples

Note, you may need to adjust the below paths based on the version you downloaded

  1. Import projects from:

    • alljoyn-android/core/alljoyn-14.06.00-rel/java/samples
    • alljoyn-android/services
  2. Add Support Library

    To add "android-support-v4.jar", right-click on the project, select "Android Tools" > "Add Support Library"

Building the AllJoyn™ framework for an existing app:

  1. In your project, create a "libs/armeabi" dir if it doesn't already exist.
  2. Copy "alljoyn-android/core/alljoyn-14.06.00-rel/java/lib/liballjoyn_java.so" to the "libs/armeabi" dir.
  3. Copy "alljoyn-android/core/alljoyn-14.06.00-rel/java/jar/alljoyn.jar" to the "libs" dir.
  4. If using a Service Framework, copy the jars from the "alljoyn-android/services/<SERVICE FRAMEWORK>/java/libs/*.jar" to the "libs" dir.

转载地址:https://dengjin.blog.csdn.net/article/details/41960015 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:【Android平台】 Alljoyn学习笔记三 开发环境的搭建和Building AllJoyn from Source for Android
下一篇:【Android平台】Alljoyn学习笔记一 Alljoyn简介

发表评论

最新留言

关注你微信了!
[***.104.42.241]2024年04月06日 00时44分42秒

关于作者

    喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!

推荐文章