0

当我执行 Web 应用程序时可以.. 但是当我执行本机应用程序时出现问题.. 有错误消息..

当我执行时(项目右键单击-> 构建包-> TPK)

它发生错误消息Fail to build package

这是控制台

Start...
Command: C:\tizen-sdk\tools\smart-build-interface\bin\sbi.exe action tizen-emulator-2.2.native_llvm31.i386.cpp.app -- buildpackage -BUILD_DIR="C:/Users/Smilelcys/workspace/Sample/Debug" -ARCH=i386 -PKG_TYPE=TPK -PKG_NAME=oCHuYywejH -PRJ_NAME=Sample -ARTIFACT_NAME=Sample -PKG_VER=1.0.0 -SIGN_CERT_DIR="C:\tizen-sdk\tools\certificate-generator\certificates\developer\tizen-developer-ca.cer" -SIGN_AUTHOR_KEY="C:\tizen-sdk-data\keystore\author\kys.p12" -SIGN_AUTHOR_PWD="1234" -SIGN_DIST1_KEY="C:\tizen-sdk\tools\certificate-generator\certificates\distributor\tizen-distributor-signer.p12" -SIGN_DIST1_PWD="tizenpkcs12passfordsigner" -SIGN_DIST1_CA="C:\tizen-sdk\tools\certificate-generator\certificates\distributor\tizen-distributor-ca.cer" -SIGN_DIST2_KEY="" -SIGN_DIST2_PWD="" -SIGN_DIST2_CA="" -SIGN_DIST2_ROOT=""
Working Directory: C:\Users\Smilelcys\workspace\Sample
Copying files...
C:/tizen-sdk/ide/..//tools/mingw/msys/1.0/bin/rm -rf "C:\Users\Smilelcys\workspace\Sample\Debug/.tpk"
C:/tizen-sdk/ide/..//tools/mingw/msys/1.0/bin/mkdir -p "C:\Users\Smilelcys\workspace\Sample\Debug/.tpk/shared"
C:/tizen-sdk/ide/..//tools/mingw/msys/1.0/bin/rm -rf "C:\Users\Smilelcys\workspace\Sample\Debug/oCHuYywejH-1.0.0-i386.tpk"
Warning: The file does not exist! C:\Users\Smilelcys\workspace\Sample\Debug/oCHuYywejH-1.0.0-i386.tpk
C:/tizen-sdk/ide/..//tools/mingw/msys/1.0/bin/rm -rf "C:\Users\Smilelcys\workspace\Sample\Debug/oCHuYywejH-1.0.0-i386-debug.zip"
Warning: The file does not exist! C:\Users\Smilelcys\workspace\Sample\Debug/oCHuYywejH-1.0.0-i386-debug.zip
C:/tizen-sdk/ide/..//tools/mingw/msys/1.0/bin/cp -rf "C:\Users\Smilelcys\workspace\Sample\Debug/../data" "C:\Users\Smilelcys\workspace\Sample\Debug/.tpk/data"
C:/tizen-sdk/ide/..//tools/mingw/msys/1.0/bin/cp -rf "C:\Users\Smilelcys\workspace\Sample\Debug/../shared/res" "C:\Users\Smilelcys\workspace\Sample\Debug/.tpk/shared/res"
C:/tizen-sdk/ide/..//tools/mingw/msys/1.0/bin/cp -rf "C:\Users\Smilelcys\workspace\Sample\Debug/../shared/data" "C:\Users\Smilelcys\workspace\Sample\Debug/.tpk/shared/data"
C:/tizen-sdk/ide/..//tools/mingw/msys/1.0/bin/cp -rf "C:\Users\Smilelcys\workspace\Sample\Debug/../shared/trusted" "C:\Users\Smilelcys\workspace\Sample\Debug/.tpk/shared/trusted"
C:/tizen-sdk/ide/..//tools/mingw/msys/1.0/bin/cp -rf "C:\Users\Smilelcys\workspace\Sample\Debug/../lib" "C:\Users\Smilelcys\workspace\Sample\Debug/.tpk/lib"
C:/tizen-sdk/ide/..//tools/mingw/msys/1.0/bin/cp -rf "C:\Users\Smilelcys\workspace\Sample\Debug/../res" "C:\Users\Smilelcys\workspace\Sample\Debug/.tpk/res"
C:/tizen-sdk/ide/..//tools/mingw/msys/1.0/bin/mkdir -p "C:\Users\Smilelcys\workspace\Sample\Debug/.tpk/setting"
C:/tizen-sdk/ide/..//tools/mingw/msys/1.0/bin/mkdir -p "C:\Users\Smilelcys\workspace\Sample\Debug/.tpk/bin"
C:/tizen-sdk/ide/..//tools/mingw/msys/1.0/bin/cp -rf "C:\Users\Smilelcys\workspace\Sample\Debug/Sample.exe" "C:\Users\Smilelcys\workspace\Sample\Debug/.tpk/bin/Sample.exe"
C:/tizen-sdk/ide/..//tools/mingw/msys/1.0/bin/mkdir -p "C:\Users\Smilelcys\workspace\Sample\Debug/.tpk/info"
C:/tizen-sdk/ide/..//tools/mingw/msys/1.0/bin/cp -rf "C:\Users\Smilelcys\workspace\Sample\Debug/../manifest.xml" "C:\Users\Smilelcys\workspace\Sample\Debug/.tpk/info/manifest.xml"
Signing...
C: && cd C:\tizen-sdk\tools\smart-build-interface\..\ide\bin && cmd.exe /C native-signing.bat "C:\Users\Smilelcys\workspace\Sample\Debug\.tpk" "C:\tizen-sdk\tools\certificate-generator\certificates\developer\tizen-developer-ca.cer" "C:\tizen-sdk-data\keystore\author\kys.p12" "****" "C:\tizen-sdk\tools\certificate-generator\certificates\distributor\tizen-distributor-signer.p12" "****" "C:\tizen-sdk\tools\certificate-generator\certificates\distributor\tizen-distributor-ca.cer" "" "****" "" ""
'java' ( ) Ǵ ܺ , ִ α׷ , Ǵ
ġ ƴմϴ .
Signing failed!
4

2 回答 2

0

它在“签名”步骤肯定失败。我不知道 Tizen 太套件,但传递给的最后一个参数native-signing.bat是“空的”。看起来很奇怪,可能是问题的原因,但也可以完全没问题. 你应该检查它们是否配置正确,以防万一。

但更令人担忧的是下一部分,'java' ( )以及随之而来的垃圾。看起来像是错误配置的输入/输出(即native-signing.bat调用某些东西并输出到 STDOUT 而不是二进制文件),或者更糟糕的是,像一些非常丑陋的崩溃和打印垃圾而不是消息。

我肯定会检查native-signing.bat文件以查看它是否已损坏,并在 Tizen 论坛或技术支持上询问。它看起来很糟糕。最终可能会重新安装 SDK 和/或 IDE。

于 2013-11-27T09:19:33.533 回答
0

Window -> Preferences -> Tizen SDK -> Security Profiles。删除现有配置文件并生成新配置文件并再次尝试构建。如果问题仍然存在,请删除调试文件夹并重试

于 2013-11-27T18:59:49.540 回答