“ant debug install” 出错: sdk.dir is missing. Make sure....

原文链接:http://blog.csdn.net/zhangxaochen/article/details/8010851

BUILD FAILED
D:\Android\android-sdk\tools\ant\build.xml:569: The following error occurred while executing this line:
C:\cocos2d-2.0-x-202\cocos2dx\platform\android\java\build.xml:46: sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through an env var

 

一开始不知道怎么回事,看了下local.properties 文件内容,是有指定 sdk.dir=D:\\Android\\android-sdk 的啊。
无奈尝试按照他说的 android update project, android update project -p . -t 3,自动生成 local.properties。可是看了下local.properties文件内容,没有变化。

然后又顺手看了下 project.properties, 突然发现有这么一行:android.library.reference.1=../../../cocos2dx/platform/android/java。。。这个路径眼熟,不就是刚刚error提示的那个路径吗?尝试注释掉这一行,重新打包install,成功。 谁知道这一行哪来的。。WTF!!

原文链接:http://blog.csdn.net/zhangxaochen/article/details/8010851

{{OVER}}

php make test 出错 make install 卡住

04-05

=====================================================================rnTIME END 2009-04-04 22:34:23rnrn=====================================================================rnTEST RESULT SUMMARYrn---------------------------------------------------------------------rnExts skipped : 53rnExts tested : 26rn---------------------------------------------------------------------rnrnNumber of tests : 4566 3144rnTests skipped : 1422 ( 31.1%) --------rnTests warned : 3 ( 0.1%) ( 0.1%)rnTests failed : 4 ( 0.1%) ( 0.1%)rnTests passed : 3137 ( 68.7%) ( 99.8%)rn---------------------------------------------------------------------rnTime taken : 302 secondsrn=====================================================================rnrn=====================================================================rnFAILED TEST SUMMARYrn---------------------------------------------------------------------rndate OO cloning [ext/date/tests/oo_002.phpt]rnBug #38474 (getAttribute select attribute by order, even when prefixed) (OK to fail with libxml2 < 2.6.2x) [ext/dom/tests/bug38474.phpt]rniconv stream filter [ext/iconv/tests/iconv_stream_filter.phpt]rnhtmlentities() test 2 (setlocale / fr_FR.ISO-8859-15) [ext/standard/tests/strings/htmlentities02.phpt] (warn: possibly braindead libc)rnhtmlentities() test 4 (setlocale / ja_JP.EUC-JP) [ext/standard/tests/strings/htmlentities04.phpt] (warn: possibly braindead libc)rnhtmlentities() test 15 (setlocale / KOI8-R) [ext/standard/tests/strings/htmlentities15.phpt] (warn: possibly braindead libc)rnTest setlocale() function : usage variations - Setting all available locales in the platform [ext/standard/tests/strings/setlocale_variation2.phpt]rn=====================================================================rnrnYou may have found a problem in PHP.rnWe would like to send this report automatically to thernPHP QA team, to give us a better understanding of howrnthe test cases are doing. If you don't want to send itrnimmediately, you can choose "s" to save the report torna file that you can send us later.rnDo you want to send this report now? [Yns]: nrn[root@localhost php-5.2.5]# rn[root@localhost php-5.2.5]# rn

没有更多推荐了,返回首页

私密
私密原因:
请选择设置私密原因
  • 广告
  • 抄袭
  • 版权
  • 政治
  • 色情
  • 无意义
  • 其他
其他原因:
120
出错啦
系统繁忙,请稍后再试

关闭