-2
我是phonegap中的新手。我有這個問題時,我嘗試建立與科爾多瓦:PhoneGap - Cordova構建android faild
須藤科爾多瓦構建Android
這裏是日誌:
Running command: /home/paul/Documents/Projets/tozer0-app/platforms/android/cordova/build
[Error: Failed to find 'JAVA_HOME' environment variable. Try setting setting it manually.]
ERROR building one of the platforms: Error: /home/paul/Documents/Projets/tozer0-app/platforms/android/cordova/build: Command failed with exit code 2
You may not have the required environment or OS to build this project
Error: /home/paul/Documents/Projets/tozer0-app/platforms/android/cordova/build: Command failed with exit code 2
任何想法?