Ibm mobilefirst 社交共享插件在MFP6.3、JDK1.8和Android 7.0中不起作用

Ibm mobilefirst 社交共享插件在MFP6.3、JDK1.8和Android 7.0中不起作用,ibm-mobilefirst,Ibm Mobilefirst,环境-jdk 1.8,MobileFirst Platform-6.3,sdk设置为24,用于android 7.0构建。我们正在迁移我们的项目,以使apk在android 7.0中工作,因此我们正在将worklight server从6.2更新为MobileFirst Platform 6.3。我们还将jdk更新为1.8,并将sdk设置为24.config。android环境中的文件包括社交共享插件。运行构建脚本时,我遇到以下错误: Compiling 13 source files to C

环境-jdk 1.8,MobileFirst Platform-6.3,sdk设置为24,用于android 7.0构建。我们正在迁移我们的项目,以使apk在android 7.0中工作,因此我们正在将worklight server从6.2更新为MobileFirst Platform 6.3。我们还将jdk更新为1.8,并将sdk设置为24.config。android环境中的文件包括社交共享插件。运行构建脚本时,我遇到以下错误:

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>
将13个源文件编译成C:\c2cProject6.3\repository\nx\u c2c\u live\u phase1\u delivery\tmp\u nxlive\u builds\nx\u c2c\u live\u build\u development\u 20170309\u 043615\worklight\source\nx\u c2c\u live\apps\nx\u c2c\u live\u passenger\android\native\bin\classes
[javac]警告:[选项]源值1.5已过时,将在未来版本中删除
[javac]警告:[选项]目标值1.5已过时,将在未来版本中删除
[javac]警告:[options]若要抑制有关过时选项的警告,请使用-Xlint:-options。
[javac]C:\c2cProject6.3\repository\nx\u c2c\u live\u phase1\u delivery\tmp\u nxlive\u builds\nx\u c2c\u live\u build\u development\u 20170309\u 043615\worklight\source\nx\u c2c\u live\apps\nx\u c2c\u live\u passenger\android\native\src\nl\xservices\plugins\SocialSharing.java:19:错误:包org.apache.http.util不存在
[javac]import org.apache.http.util.ByteArrayBuffer;
nx_c2c_现场乘客

感谢您为解决编译问题提供帮助?

您似乎有一个Cordova插件“SocialShareing”?如果是这样的话,你应该添加它需要的所有依赖项。看起来你有一个Cordova插件“SocialShareing”?如果是这样,您应该添加它所需要的所有依赖项。