2011-04-16 61 views
1

當我籤我的劇本的應用程序出現錯誤:錯誤簽名劇本應用程序:代碼簽名請求失敗,因爲該文件之前已簽訂

Connecting to url http://www.rim.net/Websigner/servlet/RDK-Waterloo 
Sending properties to server... 
Properties of response := [ 
Version = 1 
Response = Signature Response 
Confirm = null 
Error = Code signing request failed because this file has been previously signed 
. 
] 
barsigner error: server error: Code signing request failed because this file has 
been previously signed. 

我明白,這個錯誤意味着我碰到的版本我的應用程序我在哪裏指定版本?我試圖碰撞<widget>版本,我甚至添加了一個<versionNumber>標籤。似乎沒有任何工作。有人可以看看我的​​3210並告訴我我做錯了什麼嗎?

<?xml version="1.0" encoding="utf-8"?> 
<widget xmlns=" http://www.w3.org/ns/widgets" 
     xmlns:rim="http://www.blackberry.com/ns/widgets" 
     version="3.0.2"> 

    <rim:navigation mode="focus" /> 
    <name>AppName</name> 
    <description>My Description.</description> 
    <author href="" rim:copyright="Copyright © 2011 TG.">TG</author> 
    <versionNumber>3.0.2</versionNumber> 
    <content src="index.html" /> 
    <icon src="assets/icon.png"/> 
    <access uri="*" subdomains="true" /> 
    <license> 
     Copyright © 2011 TG. 
     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 
     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 
     MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 
     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 
     BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 
     ACTION OF CONTRACT, INSULT OR OTHERWISE, ARISING FROM, OUT OF OR IN 
     CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 
     SOFTWARE. 
    </license> 
</widget> 

我使用下面的命令簽署:

"C:\Program Files (x86)\Research In Motion\BlackBerry WebWorks Packager for PlayBook\bbwp\bbwp" "D:\work\App.zip" -gcsk pass -gp12 pass -buildId 1 -o "D:\work\bin" 

"C:\Program Files (x86)\Research In Motion\BlackBerry WebWorks Packager for PlayBook\bbwp\blackberry-tablet-sdk\bin\blackberry-signer" -verbose -cskpass pass -keystore sigtool.p12 -storepass pass "D:\work\bin\App.bar" RDK 
+0

X發佈於:http://supportforums.blackberry.com/t5/Web-Development/Error-Signing-Playbook-App-Code-signing-request-failed-because/td-p/1015211 – tuxGurl 2011-04-17 17:47:41

回答

1

要簽名的WebWorks包只需要下面的命令:

"C:\Program Files (x86)\Research In Motion\BlackBerry WebWorks Packager for PlayBook\bbwp\bbwp" "D:\work\App.zip" -gcsk pass -gp12 pass -buildId 1 -o "D:\work\bin"

顯然與以下起來第二個命令報告說,從第一個命令註冊版本開始,應用程序版本已經簽名!

1

在您的「blackberry-tablet.xml」中更改字段「buildId」。

相關問題