CocosIDE打包APK报:
Error: JAVA_HOME is not defined correctly.
We cannot execute /System/Library/Frameworks/JavaVM.framework/Home/bin/java
把ant脚本这一段删掉:
--- /opt/local/share/java/apache-ant/bin/ant.orig 2012-02-09 12:02:30.000000000 -0500
+++ /opt/local/share/java/apache-ant/bin/ant 2012-02-09 12:02:53.000000000 -0500
@@ -83,11 +83,7 @@
mingw=false;
case "`uname`" in
CYGWIN*) cygwin=true ;;
- Darwin*) darwin=true
- if [ -z "$JAVA_HOME" ] ; then
- JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home
- fi
- ;;
+ Darwin*) darwin=true ;;
MINGW*) mingw=true ;;
esac
参考:
https://bz.apache.org/bugzilla/show_bug.cgi?id=52632
分享到:
相关推荐
TIB_js-studiocomm_6.10.0_macosx_x86_64.dmg可以设计报表的界面或形式
opencv_python-3.1.0.0-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64
export JAVA_7_HOME=`/usr/libexec/java_home -v 1.7` export JAVA_8_HOME=`/usr/libexec/java_home -v 1.8` export JAVA_9_HOME=`/usr/libexec/java_home -v 1.9` export JAVA_HOME=$JAVA_8_HOME alias jdk7=...
FileZilla_3.10.2_macosx-x86.app.tar.bz2.dmg
export JAVA_7_HOME=`/usr/libexec/java_home -v 1.7` export JAVA_8_HOME=`/usr/libexec/java_home -v 1.8` export JAVA_9_HOME=`/usr/libexec/java_home -v 1.9` export JAVA_HOME=$JAVA_8_HOME alias jdk7=...
mac 系统 FileZilla_3.42.1_macosx-x86_sponsored-setup.dmg
matplotlib-2.1.1-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
FileZilla_3.16.1_macosx-x86.app.tar.bz2
export JAVA_HOME=/Applications/Java\ Developer\ Kit/jdk1.8.0_221 export PATH=$JAVA_HOME/bin:$PATH ``` 保存并关闭文件,然后执行`source ~/.bash_profile`(或`source ~/.zshrc`)使更改生效。 4. **验证...
FileZilla_3.57.0_macosx-x86.app.tar.bz2
pandas-0.24.2-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl matplotlib-3.1.1-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_...
资源分类:Python库 所属语言:Python 资源全名:torch-1.3.0-cp35-none-macosx_10_6_x86_64.whl 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
python库。 资源全名:RelStorage-3.1.2-pp27-pypy_73-macosx_10_7_x86_64.whl
python库。 资源全名:tdl-4.2.0-pp257-pypy_41-macosx_10_12_x86_64.whl
资源来自pypi官网。 资源全名:tdl-3.2.0-pp258-pypy_41-macosx_10_11_x86_64.whl
资源来自pypi官网。 资源全名:pyhash-0.9.2-pp370-pypy3_70-macosx_10_14_x86_64.whl
matplotlib-3.9.2-pp39-pypy39_pp73-macosx_10_15_x86_64.whl matplotlib-3.9.2-pp39-pypy39_pp73-macosx_10_15_x86_64.whl matplotlib-3.9.2-pp39-pypy39_pp73-macosx_10_15_x86_64.whl matplotlib-3.9.2-pp39-pypy...
matplotlib-3.7.3-pp38-pypy38_pp73-macosx_10_12_x86_64.whl matplotlib-3.7.3-pp38-pypy38_pp73-macosx_10_12_x86_64.whl matplotlib-3.7.3-pp38-pypy38_pp73-macosx_10_12_x86_64.whl matplotlib-3.7.3-pp38-pypy...
matplotlib-3.7.2-pp38-pypy38_pp73-macosx_10_12_x86_64.whl matplotlib-3.7.2-pp38-pypy38_pp73-macosx_10_12_x86_64.whl matplotlib-3.7.2-pp38-pypy38_pp73-macosx_10_12_x86_64.whl matplotlib-3.7.2-pp38-pypy...
matplotlib-3.7.2-pp39-pypy39_pp73-macosx_10_12_x86_64.whl matplotlib-3.7.2-pp39-pypy39_pp73-macosx_10_12_x86_64.whl matplotlib-3.7.2-pp39-pypy39_pp73-macosx_10_12_x86_64.whl matplotlib-3.7.2-pp39-pypy...