当我执行Web应用程序时,确定.. 但当我执行本机应用程序是错误的.. 有错误信息..
当我执行时(Project右键单击 - > Build Package - > 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!
答案 0 :(得分:0)
在#Signing"它肯定失败了。步。我不知道Tizen toosuite,但传递给native-signing.bat
的最后一个参数是"空"。它看起来很奇怪,可能是问题的原因,但也可以完全没问题。您应该检查它们是否配置正确,以防万一。
但更令人担忧的是下一部分,'java' ( )
和随后的垃圾。看起来配置错误的输入/输出(即native-signing.bat
调用某些东西并输出到STDOUT而不是二进制文件),或者更糟糕的是,就像一些非常丑陋的崩溃和打印垃圾而不是消息。
我绝对检查native-signing.bat
文件是否已损坏,并询问Tizen论坛或技术支持。看起来很糟糕。它最终可能会重新安装SDK和/或IDE。
答案 1 :(得分:0)
转到Window -> Preferences -> Tizen SDK -> Security Profiles
。删除现有配置文件并生成新配置文件,然后再次尝试构建。如果问题仍然存在,请删除调试文件夹并再试一次