我可以t deploy an unsigned bar to my playbook device , because the of : failure 881 application author does not match debug token author. How can I fix this ?
I
使用bb10 sdk安装调试令牌,因此在我的设备上,在我的安全>>中开发模式选项卡我有:
调试令牌.......已安装
有效............是的
作者............ -
到期时间:2013年1月17日下午04:19:43
我尝试使用/不使用标记进行2次部署
config.xml中
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets"
xmlns:rim="http://www.blackberry.com/ns/widgets"
version="1.0.0.0"
>
<name>AppDev2.0</name>
<author>-</author> <!-- and without <></> and still pops me the failure 881 author problem -->
<icon src="assets/icon.png"/>
<content src="index.html"/>
<rim:permissions>
<rim:permit>access_location_services</rim:permit>
</rim:permissions>
<!-- for flickr search data (json) -->
<access uri="http://api.flickr.com" />
<!-- for flickr images from farm1. to farm9. -->
<access uri="http://staticflickr.com/" subdomains="true" />
<!-- for google image search data (json) -->
<access uri="https://ajax.googleapis.com" />
<!-- for google images from t0. to t3. -->
<access uri="http://gstatic.com" subdomains="true"/>
<!-- for weather data (xml) from free. and icons from www. -->
<access uri="http://worldweatheronline.com/" subdomains="true"/>
<!-- used to create dialogs (location-details.js, splash.js, saved-locations.js-->
<feature id="blackberry.ui.dialog"/>
<!-- to enable the application to invoke the browser -->
<feature id="blackberry.invoke"/>
<!-- to trap the onswipedown event -->
<feature id="blackberry.app"/>
</widget>
答案 0 :(得分:3)
“我有类似的问题。检查blackbery-tablet.xml和字段是否正确。
要获取这些字段的正确值,只需将打包的.bar文件重命名为.zip,然后将其解压缩即可。 META-INF文件夹中会有manifest.mf文件。用记事本打开它。从那里抓取和价值并重建您的应用程序。如果这没有帮助,那么重建调试令牌并确保将其安装在设备上。调试令牌需要具有正确的设备引脚。
如果此评论对您有所帮助,请点击“竖起大拇指”图标!如果您的问题已解决,请点击解决方案上的解决方案按钮!“ - source http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Failure-881-Application-Author-does-not-match-debug-token-author/m-p/2055935#M32567
答案 1 :(得分:1)
我有类似的问题。并且它不是“作者”问题:我试图在调试模式下部署,并且设备上没有安装debugToken。
debugToken必须位于设备上,以便部署可以正常工作。您可以使用以下命令上传debugToken:
blackberry-deploy -installDebugToken debugtoken.bar -device 169.254.0.1 -password
希望这有助于:)
答案 2 :(得分:0)
author标签的值必须与您在创建BlackBerry Signing密钥时提供的公司名称相匹配。
答案 3 :(得分:0)
使用文本编辑器打开文件blackberry-tablet.xml
,该文件位于<BlackBerry WebWorks SDK Tablet install folder>\bbwp\AirAppTemplates\src\
内。
你应该看到一个类似的部分:
<publisher>Sample Inc.</publisher>
<category>core.internet</category>
在此部分之后,您必须添加
<author>*replace with your author name info*</author>
<authorId>*replace with your author id info*</authorId>
您必须从您在PlayBook上上传的调试令牌中获取您的作者和作者ID信息。您应该在计算机上安装调试令牌,将.bar重命名为.zip并解压缩。使用文本编辑器查看MANIFEST.MF文件中的META-INF文件夹,查看实际字符串值所包含的Package-Author:
和Package-Author-Id:
的值。
希望这有帮助。