Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 88737

求助帖--构建发布项目时编译出错,

$
0
0

@1347751221 写道:

找了好久,一直不知道什么原因,有点崩溃..

-build-setup:
[getbuildtools] Using latest Build Tools: 25.0.0
[echo] Resolving Build Target for start_project...
[gettarget] Project Target: Android 4.4.2
[gettarget] API level: 19
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: C:\Users\start_project\build\jsb-link\frameworks\runtime-src\proj.android\bin
[mkdir] Created dir: C:\Users\start_project\build\jsb-link\frameworks\runtime-src\proj.android\bin\res
[mkdir] Created dir: C:\Users\start_project\build\jsb-link\frameworks\runtime-src\proj.android\bin\rsObj
[mkdir] Created dir: C:\Users\start_project\build\jsb-link\frameworks\runtime-src\proj.android\bin\rsLibs
[mkdir] Created dir: C:\Users\start_project\build\jsb-link\frameworks\runtime-src\proj.android\gen
[mkdir] Created dir: C:\Users\start_project\build\jsb-link\frameworks\runtime-src\proj.android\bin\classes
[mkdir] Created dir: C:\Users\start_project\build\jsb-link\frameworks\runtime-src\proj.android\bin\dexedLibs
[echo] ----------
[echo] Resolving Dependencies for start_project...
[dependency] Ordered libraries:
[dependency]
[dependency] ------------------
[echo] ----------
[echo] Building Libraries with 'release'...
[subant] No sub-builds to iterate on

-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 C:\Users\start_project\build\jsb-link\frameworks\runtime-src\proj.android\bin\classes
[javac] 警告: [options] 源值1.5已过时, 将在未来所有发行版中删除
[javac] 警告: [options] 目标值1.5已过时, 将在未来所有发行版中删除
[javac] 警告: [options] 要隐藏有关已过时选项的警告, 请使用 -Xlint:-options。
[javac] 注: 某些输入文件使用或覆盖了已过时的 API。
[javac] 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
[javac] 注: 某些输入文件使用了未经检查或不安全的操作。
[javac] 注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
[javac] 3 个警告

-post-compile:

-obfuscate:

-dex:
[dex] input: C:\Users\start_project\build\jsb-link\frameworks\runtime-src\proj.android\bin\classes
[dex] input: C:\Users\start_project\build\jsb-link\frameworks\runtime-src\proj.android\libs\libPluginProtocol.jar
[dex] input: C:\Users\start_project\build\jsb-link\frameworks\runtime-src\proj.android\libs\com.android.vending.expansion.zipfile.jar
[dex] input: C:\Users\start_project\build\jsb-link\frameworks\runtime-src\proj.android\libs\httpclient-4.4.1.1.jar
[dex] input: C:\Users\start_project\build\jsb-link\frameworks\runtime-src\proj.android\libs\android-async-http-1.4.9.jar
[dex] Pre-Dexing C:\Users\start_project\build\jsb-link\frameworks\runtime-src\proj.android\libs\libPluginProtocol.jar -> libPluginProtocol-f48ecdcdf7deec6585b5c9b3eb2fff09.jar
[dx]
[dx] trouble writing output: java.security.NoSuchAlgorithmException: SHA-1 MessageDigest not available

BUILD FAILED
D:\study\android-sdk-windows\tools\ant\build.xml:888: The following error occurred while executing this line:
D:\study\android-sdk-windows\tools\ant\build.xml:890: The following error occurred while executing this line:
D:\study\android-sdk-windows\tools\ant\build.xml:902: The following error occurred while executing this line:
D:\study\android-sdk-windows\tools\ant\build.xml:283: null returned: 2

Total time: 8 seconds
执行命令出错,返回值:1。

帖子: 2

参与者: 1

阅读整个主题


Viewing all articles
Browse latest Browse all 88737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>