It seems all settings are OK.
Exec: "/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/bin/java" -classpath "/usr/local/bin/apache-ant-1.9.2/lib/ant-launcher.jar" "-Dant.home=/usr/local/bin/apache-ant-1.9.2" org.apache.tools.ant.launch.Launcher release into /Users/yy/Downloads/aa/tmp
"/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/bin/java" -classpath "/usr/local/bin/apache-ant-1.9.2/lib/ant-launcher.jar" "-Dant.home=/usr/local/bin/apache-ant-1.9.2" org.apache.tools.ant.launch.Launcher release
BUILD FAILED
/Users/yy/Library/Android/sdk/tools/ant/build.xml:888: The following error occurred while executing this line:
/Users/yy/Library/Android/sdk/tools/ant/build.xml:890: The following error occurred while executing this line:
/Users/yy/Library/Android/sdk/tools/ant/build.xml:902: The following error occurred while executing this line:
/Users/yy/Library/Android/sdk/tools/ant/build.xml:283: null returned: 1
Total time: 15 seconds
Exec returned: 1
Comments
Apk export.
No problem from eclipse or android studio.
But,to be used for publishing,parameters like versionCode and versionName should be configured.
BTW,since ecplise has been deprecated by Google,the apk export using the android studio template would be better.
Likes: antix
The Android project structure is a little different so you need to add libraries and java files etc to different locations.
I do not have much time at the moment as we are getting ready to release our new game, but if I can help I will do so.
Please update/correct the document so we can give back to the community.
Likes: antix