언어 설정

Menu
Sites
Language
Cannot generate package

Hello. 

I have ported a bada app to Tizen. It works all right in the emulator.

I am trying to generate the release package but the system keeps complaining about signing the package because there is some file missing.

It doesn't find the class org.tizen.common.sign.signer.TizenSigner

 

I have generated the developer certificate without any problem.

This also happens with native sample projects, like MediaApp, for instance.

Any help?

Thank you!

 

Here you are an excerpt of the console output.

 

 

Working Directory: C:\tizen-sdk\workspace\MakePairsPro
Copying files...
C:/tizen-sdk/tools/mingw/msys/1.0/bin/rm -rf "C:\tizen-sdk\workspace\MakePairsPro\Release/.tpk"
C:/tizen-sdk/tools/mingw/msys/1.0/bin/mkdir -p "C:\tizen-sdk\workspace\MakePairsPro\Release/.tpk/shared"
C:/tizen-sdk/tools/mingw/msys/1.0/bin/rm -rf "C:\tizen-sdk\workspace\MakePairsPro\Release/0v7kh8sevd-1.0.0-arm.tpk"
Warning: The file does not exist! C:\tizen-sdk\workspace\MakePairsPro\Release/0v7kh8sevd-1.0.0-arm.tpk
C:/tizen-sdk/tools/mingw/msys/1.0/bin/cp -rf "C:\tizen-sdk\workspace\MakePairsPro\Release/../data" "C:\tizen-sdk\workspace\MakePairsPro\Release/.tpk/data"
C:/tizen-sdk/tools/mingw/msys/1.0/bin/cp -rf "C:\tizen-sdk\workspace\MakePairsPro\Release/../shared/res" "C:\tizen-sdk\workspace\MakePairsPro\Release/.tpk/shared/res"
C:/tizen-sdk/tools/mingw/msys/1.0/bin/cp -rf "C:\tizen-sdk\workspace\MakePairsPro\Release/../shared/data" "C:\tizen-sdk\workspace\MakePairsPro\Release/.tpk/shared/data"
C:/tizen-sdk/tools/mingw/msys/1.0/bin/cp -rf "C:\tizen-sdk\workspace\MakePairsPro\Release/../shared/trusted" "C:\tizen-sdk\workspace\MakePairsPro\Release/.tpk/shared/trusted"
C:/tizen-sdk/tools/mingw/msys/1.0/bin/cp -rf "C:\tizen-sdk\workspace\MakePairsPro\Release/../lib" "C:\tizen-sdk\workspace\MakePairsPro\Release/.tpk/lib"
C:/tizen-sdk/tools/mingw/msys/1.0/bin/cp -rf "C:\tizen-sdk\workspace\MakePairsPro\Release/../res" "C:\tizen-sdk\workspace\MakePairsPro\Release/.tpk/res"
C:/tizen-sdk/tools/mingw/msys/1.0/bin/mkdir -p "C:\tizen-sdk\workspace\MakePairsPro\Release/.tpk/setting"
C:/tizen-sdk/tools/mingw/msys/1.0/bin/mkdir -p "C:\tizen-sdk\workspace\MakePairsPro\Release/.tpk/bin"
C:/tizen-sdk/tools/mingw/msys/1.0/bin/cp -rf "C:\tizen-sdk\workspace\MakePairsPro\Release/MakePairsPro.exe" "C:\tizen-sdk\workspace\MakePairsPro\Release/.tpk/bin/MakePairsPro.exe"
C:/tizen-sdk/tools/mingw/msys/1.0/bin/mkdir -p "C:\tizen-sdk\workspace\MakePairsPro\Release/.tpk/info"
C:/tizen-sdk/tools/mingw/msys/1.0/bin/cp -rf "C:\tizen-sdk\workspace\MakePairsPro\Release/../manifest.xml" "C:\tizen-sdk\workspace\MakePairsPro\Release/.tpk/info/manifest.xml"
Stripping...
C:/tizen-sdk/tools/smart-build-interface/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-strip.exe --strip-unneeded --remove-section .comment "C:\tizen-sdk\workspace\MakePairsPro\Release/.tpk/bin/MakePairsPro.exe"
Signing...
C: && cd C:\tizen-sdk\tools\smart-build-interface\..\ide\bin && cmd.exe /C native-signing.bat "C:\tizen-sdk\workspace\MakePairsPro\Release\.tpk" "C:\tizen-sdk\tools\certificate-generator\certificates\developer\tizen-developer-ca.cer" "C:\tizen-sdk\tools\certificate-generator\segundo.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" "" "****" "" ""
El sistema no puede encontrar el archivo especificado.
Error: no se ha encontrado o cargado la clase principal org.tizen.common.sign.signer.TizenSigner
Signing failed!
 
Edited by: Brock Boland on 17 3월, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

3 댓글
kavish
Just follow below steps to create package file and install on target device. I have use below method and it always works for me so that I can assume it will work for you also. If you have generated certificate file without any problem then you have to create package file. To create a package file take the help of given link. https://developer.tizen.org/help/topic/org.tizen.native.appprogramming/html/app_dev_process/packaging_app.htm Once your package file is ready, push the tpk file created under opt/apps/PKGS folder This you can find in connection explorer tab provided you must have connected your device to PC via USB cable. Open the command prompt and go to tizen-sdk\tools folder where SDK installed. Now you want to install application use below command. pkgcmd -q -i -t tpk -p/opt/apps/tmp/ tpkpackagename.tpk To launch application type below command /usr/bin/launch_app appID.AppName
Miguel Angel Lazaro Solana
Hey, Kavish, thank you for your response. I finally managed to generate the package after reinstalling the SDK. Thus, I believe I had something wrong with my installation. Thank you! Best wishes, MA
kavish
Good to know that your problem has been solved.