|
本帖最后由 hnytkeok 于 2015-7-18 16:22 编辑
在v3.1.1版运行是正常的,
[echo] Resolving Dependencies for X5...
[dependency] Library dependencies:
[dependency]
[dependency] ------------------
[dependency] Ordered libraries:
[dependency]
[dependency] ------------------
-code-gen:
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files...
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[echo] ----------
[echo] Handling Resources...
[aapt] Generating resource IDs...
[echo] ----------
[echo] Handling BuildConfig class...
[buildconfig] Generating BuildConfig class.
-pre-compile:
-compile:
[javac] Compiling 96 source files to F:\BaiduYunDownload\WeX5_V3.2\model\Native\培训在线\build\C6B08D4B28F00001B4E5E1C220741923\build\platforms\android\CordovaLib-crosswalk\bin\classes
[javac] 注: 某些输入文件使用或覆盖了已过时的 API。
[javac] 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
[echo] Creating library output jar file...
[jar] Building jar: F:\BaiduYunDownload\WeX5_V3.2\model\Native\培训在线\build\C6B08D4B28F00001B4E5E1C220741923\build\platforms\android\CordovaLib-crosswalk\bin\classes.jar
-post-compile:
-obfuscate:
-dex:
[echo] Library project: do not convert bytecode...
-crunch:
[crunch] Crunching PNG Files in source dir: F:\BaiduYunDownload\WeX5_V3.2\model\Native\培训在线\build\C6B08D4B28F00001B4E5E1C220741923\build\platforms\android\CordovaLib-crosswalk\res
[crunch] To destination dir: F:\BaiduYunDownload\WeX5_V3.2\model\Native\培训在线\build\C6B08D4B28F00001B4E5E1C220741923\build\platforms\android\CordovaLib-crosswalk\bin\res
[crunch] Crunched 0 PNG files to update cache
-package-resources:
[echo] Library project: do not package resources...
-package:
[echo] Library project: do not package apk...
-post-package:
-release-prompt-for-password:
-release-nosign:
[echo]
[propertyfile] Creating new property file: F:\BaiduYunDownload\WeX5_V3.2\model\Native\培训在线\build\C6B08D4B28F00001B4E5E1C220741923\build\platforms\android\CordovaLib-crosswalk\bin\build.prop
[propertyfile] Updating property file: F:\BaiduYunDownload\WeX5_V3.2\model\Native\培训在线\build\C6B08D4B28F00001B4E5E1C220741923\build\platforms\android\CordovaLib-crosswalk\bin\build.prop
[propertyfile] Updating property file: F:\BaiduYunDownload\WeX5_V3.2\model\Native\培训在线\build\C6B08D4B28F00001B4E5E1C220741923\build\platforms\android\CordovaLib-crosswalk\bin\build.prop
[propertyfile] Updating property file: F:\BaiduYunDownload\WeX5_V3.2\model\Native\培训在线\build\C6B08D4B28F00001B4E5E1C220741923\build\platforms\android\CordovaLib-crosswalk\bin\build.prop
-release-sign:
-post-build:
release:
-code-gen:
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files...
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[echo] ----------
[echo] Handling Resources...
[aapt] Generating resource IDs...
[echo] ----------
[echo] Handling BuildConfig class...
[buildconfig] Generating BuildConfig class.
-pre-compile:
-compile:
[javac] Compiling 30 source files to F:\BaiduYunDownload\WeX5_V3.2\model\Native\培训在线\build\C6B08D4B28F00001B4E5E1C220741923\build\platforms\android\bin\classes
[javac] F:\BaiduYunDownload\WeX5_V3.2\model\Native\培训在线\build\C6B08D4B28F00001B4E5E1C220741923\build\platforms\android\src\plugin\http\request\HttpRequest.java:56: 错误: 不兼容的类型
[javac] Iterator<Object> iterator = params.keys();
[javac] ^
[javac] 需要: Iterator<Object>
[javac] 找到: Iterator<String>
[javac] 注: 某些输入文件使用或覆盖了已过时的 API。
[javac] 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
[javac] 注: 某些输入文件使用了未经检查或不安全的操作。
[javac] 注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
[javac] 1 个错误
BUILD FAILED
F:\BaiduYunDownload\WeX5_V3.2\tools\adt-sdk\tools\ant\build.xml:716: The following error occurred while executing this line:
F:\BaiduYunDownload\WeX5_V3.2\tools\adt-sdk\tools\ant\build.xml:730: Compile failed; see the compiler error output for details.
Total time: 5 seconds
F:\BaiduYunDownload\WeX5_V3.2\model\Native\鍩硅鍦ㄧ嚎\build\C6B08D4B28F00001B4E5E1C220741923\build\platforms\android\cordova\node_modules\q\q.js:126
throw e;
^
Error code 1 for command: cmd with args: /s,/c,ant,release,-f,F:\BaiduYunDownload\WeX5_V3.2\model\Native\鍩硅鍦ㄧ嚎\build\C6B08D4B28F00001B4E5E1C220741923\build\platforms\android\build.xml
Error: F:\BaiduYunDownload\WeX5_V3.2\model\Native\鍩硅鍦ㄧ嚎\build\C6B08D4B28F00001B4E5E1C220741923\build\platforms\android\cordova\build.bat: Command failed with exit code 8
at ChildProcess.whenDone (F:\BaiduYunDownload\WeX5_V3.2\tools\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:135:23)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:743:16)
at Process.ChildProcess._handle.onexit (child_process.js:810:5)
****ERROR****: Task "exec" finished with error.
****ERROR****: Target "buildAndroid" finished with error.
****ERROR****: Build finished with error.
****ERROR**** 错误信息: exec returned: 1
****ERROR**** 调用栈:
|
|