私は日食でholoeveywhereを「実行中」にしており、このリンクで参照されているように、「HoloEverywhereBuild」を正常にビルドできます。https://github.com/ChristopheVersieux/HoloEverywhere/wiki/Maven
ただし、「HoloEverywhere Demo Run」をビルドしようとすると、このエラーが発生します。android:deploy
私は彼とまったく同じ目標を持っていることを覚えておいてくださいandroid:run
。私も選択しますSkip Tests
。インストールされているjreで参照されている正しいライブラリがあることを確認し、実行構成の[jre]タブで最新のjdkを選択しました。
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building HoloEverywhere Demo 1.4.2
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- android-maven-plugin:3.5.0:deploy (default-cli) @ demo ---
[INFO] C:\Users\Akhil\Downloads\Development\adt-bundle-windows-x86\adt-bundle-windows-x86\sdk\platform-tools\aapt.exe [dump, xmltree, C:\Users\Akhil\HoloEverywhere\demo\target\demo-1.4.2.apk, AndroidManifest.xml]
[INFO] Found 0 devices connected with the Android Debug Bridge
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping HoloEverywhere Demo
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.801s
[INFO] Finished at: Sun Jan 20 16:22:07 EST 2013
[INFO] Final Memory: 7M/18M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.5.0:deploy (default-cli) on project demo: No online devices attached. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
エミュレータが起動しないからですか?AVD Manager自体からエミュレーターを起動しようとしましたが、機能しませんでした。私の構成の何が問題になっていますか?そして、どうすればそれを修正できますか?ヒントは大歓迎です。
ありがとう!
編集
これが私のWindows環境ですパス変数名:パス値:C:\ Program Files \ Intel \ WiFi \ bin \; C:\ Program Files \ Common Files \ Intel \ WirelessCommon \; C:\ Program Files \ Java \ jdk1.7.0 _11 \ bin; C:\ Users \ Akhil \ Downloads \ Development \ adt-bundle-windows-x86 \ adt-bundle-windows-x86 \ sdk \ platform-tools
これが私の実行構成のスクリーンショットです。心配しないでください、私はjdkを使用します。