0

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)
4

1 に答える 1

0

この問題の解決策を見つけるのに約 1 日を費やしました。原因は、jdeveloper に付随するノード実行可能ファイル (.../Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/tools/node-linux-x86/bin/node)の互換性の問題であることが判明しました。 OS。jdeveloper の公式リリースは、ノードの 32 ビット (x86) リリースで構成されています。したがって、この問題が発生した場合は、64 ビット OS を使用している可能性があります。

64 ビットのマルチアーキテクチャ Ubuntu システムで 32 ビットの実行可能ファイルを実行するには、i386 アーキテクチャを追加し、3 つのライブラリ パッケージ 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
于 2016-09-01T08:50:48.307 に答える