1
嘗試構建示例gcm-demo-appengine時出現此錯誤。構建示例時無法找到ant-macros.xml gcm-demo-appengine
[email protected]:~/sourceCode/gcm/samples/gcm-demo-appengine$ ant -Dsdk.dir=/home/vihaan/Downloads/eclipse/plugins/com.google.appengine.eclipse.sdkbundle_1.8.9 runserver
Buildfile: /home/vihaan/sourceCode/gcm/samples/gcm-demo-appengine/build.xml
BUILD FAILED
/home/vihaan/sourceCode/gcm/samples/gcm-demo-appengine/build.xml:27: Cannot find /home/vihaan/Downloads/eclipse/plugins/com.google.appengine.eclipse.sdkbundle_1.8.9/config/user/ant-macros.xml imported from /home/vihaan/sourceCode/gcm/samples/gcm-demo-appengine/build.xml
Total time: 0 seconds
我已經檢查了sdk.dir即/home/vihaan/Downloads/eclipse/plugins/com.google.appengine.eclipse.sdkbundle_1.8.9並沒有config文件夾中,也沒有螞蟻macros.xml文件。如何以及從哪裏獲取ant-macros.xml文件?
謝謝您的回答+1 :) 我下載了,但現在因爲java.lang.UnsupportedClassVersionError不支持的錯誤MAJOR.MINOR版本51.0 你有一個想法是什麼我應該做的,或者使用哪個版本?謝謝 –