嗨,我是黑莓手机新手,我开发了BB10应用程序。我已经在模拟器上测试了它的工作正常。但是当我尝试在BB10 dev alpha设备上启动应用程序时,它会发出错误“无法推送应用程序,原因是错误22”。如何在BB10 dev alpha设备上启动应用程序
blackberry-signer -register -csjpin <csj pin> -storepass <KeystorePassword> <client-RDK-xxxxxx.csj file><client-PBDT-xxxxx.csj file>
其次,我创建了一个调试令牌使用:
首先我一直在使用创建的开发者证书: ,我已经使用的步骤
blackberry-debugtokenrequest -storepass <KeystorePassword> -devicepin <device PIN> <debug_token_file_name.bar>
然后我安装调试令牌开发alpha设备使用:
blackberry-deploy -installDebugToken <path to debug token> -device <IP address of device> -password <device password>
然后我有编译采用ED应用:
bbwp [drive:][path]archive -d [-o dir]
然后我就用下面的语法部署的应用程序:
blackberry-deploy -installApp -password <device password> -device <IP address of device> -package <BAR file path>
的应用程序安装在正确的设备,但是当我点击应用程序图标,我得到了错误22
请帮助我,让我可以在设备上运行应用程序。
------ ------- ------ ------- ------ ------- - ----- ------- ------ ------- ------ -------
当我试图通过涟漪启动应用程序,然后我也得到了同样的错误。 以下是我在cmd提示符下看到的内容。
2013-02-28 11:13:31 GET /ripple/build_status/6362 200
Info: Sending request: Install and Launch
Info: Action: Install and Launch
Info: File size: 411108
Info: Installing App.testDev_App___dbc068a4...
Info: Processing 411108 bytes
Info: Progress 96%...
Info: Progress 100%...
actual_dname::App.testDev_App___dbc068a4
actual_id::testDev_App___dbc068a4
actual_version::2.0.0.0
result::success
Info: Launching App.testDev_App___dbc068a4...
Error: Error loading application package: Invalid argument
请帮助,以便我可以继续。 在此先感谢。
更新
<?xml version="1.0" encoding="utf-8"?>
<widget xmlns="http://www.w3.org/ns/widgets"
xmlns:rim="http://www.blackberry.com/ns/widgets"
version="2.0.0.0" id="someId">
<author href="https://www.example.com/"
rim:copyright="Copyright 1998-2012 My Corp">quepp</author>
<name>appName</name>
<description>
description
</description>
<!--<icon src="icon"/>-->
<content src="index.html"/>
<feature id="blackberry.app">
<param name="backgroundColor" value="FFFFFF" />
</feature>
<feature id="blackberry.app">
<param name="orientation" value="portrait" />
</feature>
<feature id="blackberry.ui.dialog"/>
<feature id="blackberry.identity" />
<access uri="*" subdomains="true" />
<license href="" />
<rim:permissions>
<rim:permit>access_shared</rim:permit>
<rim:permit>read_device_identifying_information</rim:permit>
</rim:permissions>
</widget>
是否打开了设备上的开发模式? – 2013-02-28 06:51:11
是的,我做了...因为没有这个是不可能在设备上安装应用程序。 – Arpit 2013-02-28 07:11:17
你可以发布你的config.xml文件吗?你能否验证你放在你的作者标签中的名字是否与你用于签名密钥的名字相符? – 2013-03-01 22:59:28