【问题标题】:Installing plugman ... Error Code : INTERNAL_ERROR jdeveloper安装plugman ...错误代码:INTERNAL_ERROR jdeveloper
【发布时间】:2016-08-07 00:42:04
【问题描述】:

我刚刚开始使用 Oracle MAF 进行开发,并按照教程创建了一个移动应用程序项目。当我尝试将其部署到设备时,出现以下问题并且失败。任何方向、解决方案和帮助,不胜感激。

[11:29:51 AM] ----  Deployment started.  ----
[11:29:51 AM] Target platform is  (Android).
[11:29:51 AM] Beginning deployment of MAF application "Application1" to Android using profile "Android1".
[11:29:57 AM] Checking state of Android Debug Bridge server...
[11:30:02 AM] Started Android Debug Bridge server.
[11:30:02 AM] Verifying a single Android device is online and connected to the ADB server...
[11:30:02 AM] Unable to obtain the version of ARM supported by the Android device.  The application may not work correctly if the device does not support at least ARMv6.
[11:30:02 AM] Cordova Plugman could not be found and needs to be installed.
[11:30:02 AM] This one-time installation may take a few minutes.
[11:30:02 AM] Installing Cordova Plugman...
[11:30:04 AM] Command-line executed: [/home/yogesh/Oracle/Middleware/Oracle_Home/oracle_common/jdk/bin/java, -jar, /home/yogesh/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/maf-helper.jar, installTools, -tools, /home/yogesh/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/tools]
[11:30:04 AM] Creating directory /home/yogesh/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/tools/plugman
[11:30:04 AM] Installing plugman ...
[11:30:04 AM] Error Code : INTERNAL_ERROR
[11:30:04 AM] /home/yogesh/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/tools/node-linux-x86/bin/npm: 2: exec: /home/yogesh/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/tools/node-linux-x86/bin/node: not found
[11:30:04 AM] oracle.maf.mafhelper.api.MafHelperException: oracle.maf.mafhelper.api.MafHelperException: oracle.maf.mafhelper.api.MafHelperException: java.lang.Exception
[11:30:04 AM] at oracle.maf.mafhelper.internal.utils.MafHelperInternalUtilities.installTools(Unknown Source)
[11:30:04 AM] at oracle.maf.mafhelper.MafHelperMain.main(Unknown Source)
[11:30:04 AM] Caused by: oracle.maf.mafhelper.api.MafHelperException: oracle.maf.mafhelper.api.MafHelperException: java.lang.Exception
[11:30:04 AM] at oracle.maf.mafhelper.internal.utils.MafHelperInternalUtilities.runProcess(Unknown Source)
[11:30:04 AM] at oracle.maf.mafhelper.internal.utils.MafHelperInternalUtilities.executeCmd(Unknown Source)
[11:30:04 AM] ... 2 more
[11:30:04 AM] Caused by: oracle.maf.mafhelper.api.MafHelperException: java.lang.Exception
[11:30:04 AM] ... 4 more
[11:30:04 AM] Caused by: java.lang.Exception
[11:30:04 AM] at oracle.maf.mafhelper.api.MafHelperException.<init>(Unknown Source)
[11:30:04 AM] ... 4 more
[11:30:04 AM] Shutting down Android Debug Bridge server...
[11:30:04 AM] Deployment cancelled.
[11:30:04 AM] ----  Deployment incomplete  ----.
[11:30:04 AM] An error occurred installing plugman. (oracle.adfmf.framework.dt.deploy.common.deployers.plugins.PlugmanInstallerDeployer)

【问题讨论】:

  • 您是以管理员身份打开 JDeveloper 吗?正如我发现的那样,当您在管理员用户中部署 JDev 并在另一个用户中运行它时,就会出现这种问题。如果是这样,请以管理员用户身份打开并让plugman安装(这是一次安装过程),稍后您可以在其他用户帐户中使用它。
  • 对于开发它是免费的,但如果你想在 PlayStore 上提交它,那么“是”你需要获得许可证。把你的问题评论到community.oracle.com/message/12581264#12581264这个链接,他们会回答你的。
  • 你在模块方面什么都做不了,一切都是每个用户的应用程序和无限用户的每个应用程序。最好联系 Oracle 营销团队,他们是回答您所有问题的合适人选。
  • 我使用命令 $chmod 777 jstudio11116install.bin 安装 jdev
  • 并从终端 /home/yogesh/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/bin/./jdev.exe 使用以下命令打开它

标签: java cordova cordova-plugins jdeveloper oracle-maf


【解决方案1】:

我花了大约一天的时间试图找到解决这个问题的方法。 原来,罪魁祸首是 node 可执行文件的兼容性问题(.../Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/tools/node-linux-x86/bin/node) i> 与操作系统一起提供的 jdeveloper。 jdeveloper 的正式版本包含一个 32 位 (x86) 版本的节点。因此,如果您遇到此问题,您可能使用的是 64 位操作系统。

要在 64 位多架构 Ubuntu 系统上运行 32 位可执行文件,必须添加 i386 架构并安装三个库包 libc6:i386、libncurses5:i386 和 libstdc++6:i386 :

sudo dpkg --add-architecture i386

如果您使用的是 Ubuntu 12.04 LTS (Precise Pangolin) 或更低版本,请使用:

 echo "foreign-architecture i386" > /etc/dpkg/dpkg.cfg.d/multiarch

然后输入:

 sudo apt-get update
 sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386

【讨论】:

    猜你喜欢
    • 2023-02-15
    • 1970-01-01
    • 1970-01-01
    • 2016-05-03
    • 2018-09-03
    • 2015-11-27
    • 1970-01-01
    • 2019-08-20
    • 2019-01-24
    相关资源
    最近更新 更多