SocialSharing插件不适用于MFP 6.3,jdk 1.8和Android 7.0

时间:2017-03-09 10:12:11

标签: ibm-mobilefirst

环境 - jdk 1.8,MobileFirst Platform -6.3,sdk设置为24 for andorid 7.0 build。我们正在迁移我们的项目以使apk在android 7.0中工作,因为我们正在将我们的worklight服务器从6.2更新到MobileFirst Platform 6.3。还将jdk更新为1.8并将sdk设置为android环境中的24.config.xml文件,包括SocialSharing插件。在运行我的构建脚本时,我收到以下错误,

Compiling 13 source files to C:\c2cProject6.3\repository\nx_c2c_live_phase1_delivery\tmp_nxlive_builds\nx_c2c_live_build_development_20170309_043615\worklight\source\nx_c2c_live\apps\nx_c2c_live_passenger\android\native\bin\classes
    [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    [javac] C:\c2cProject6.3\repository\nx_c2c_live_phase1_delivery\tmp_nxlive_builds\nx_c2c_live_build_development_20170309_043615\worklight\source\nx_c2c_live\apps\nx_c2c_live_passenger\android\native\src\nl\xservices\plugins\SocialSharing.java:19: error: package org.apache.http.util does not exist
    [javac] import org.apache.http.util.ByteArrayBuffer;



<widget xmlns     = "http://www.w3.org/ns/widgets"
          id        = "nx_c2c_live_passenger"
          version   = "1.0.0.0">
      <name>nx_c2c_live_passenger</name>

      <feature name="SocialSharing">
          <param name="android-package" value="nl.xservices.plugins.SocialSharing"/>
      </feature>

</widget>

有什么帮助可以解决编译问题?

0 个答案:

没有答案