在向samsung注册开发人员证书后,我无法安装我的应用程序,我收到SIGNATURE_INVALID(代码22)。SIGNATURE_INVALID当试图在Samsung Gear 2上安装应用程序
应用程序可以是任何东西,包括IDE向导中的hello world应用程序。
有趣的是,在从三星收回一封电子邮件并安装密钥之前,我部署了一个hello world应用程序并且它工作正常。不能重复这个没有更多。从IDE
日志:从日志
有趣的事情:
Launching the Tizen application...
# If you want to see the detailed information,
# please set the logging level to DEBUG in Preferences and check the log file in '(...)'.
[Initializing the launch environment...]
RDS: On
Target information: SM-R380
Application information: Id(p8BYHTMfs6.Pilot), Package Name(p8BYHTMfs6), Project Name(Pilot)
[Transferring the package...]
Repackaging is in progress before the package transfer.
Transferred the package: (...)/tizen/Pilot.wgt -> /opt/usr/apps/tmp
[Stopping running application...]
[Installing the package...]
path is /opt/usr/apps/tmp/Pilot.wgt
start process (install)
....
error : 22
end process (fail)
processing result : SIGNATURE_INVALID [22] failed
spend time for pkgcmd is [1798]ms
cmd_ret:22
[Transferring the package...]
Repackaging is in progress before the package transfer.
Transferred the package: (...)/tizen/Pilot.wgt -> /opt/usr/apps/tmp
path is /opt/usr/apps/tmp/Pilot.wgt
start process (install)
....
error : 22
end process (fail)
processing result : SIGNATURE_INVALID [22] failed
spend time for pkgcmd is [1824]ms
cmd_ret:22
Unexpected stop progress...
(12.17 sec)
而且随着sdb
当试图
[2014.09.02 16:53:58][WARN ] SignCommand.java(91) - Cannot remove a file. Path : (...)/tizen/.build/Result Resource Layer/author-signature.xml
[2014.09.02 16:53:58][WARN ] SignCommand.java(91) - Cannot remove a file. Path : (...)/tizen/.build/Result Resource Layer/signature1.xml
(...)
[2014.09.02 16:54:06][DEBUG] SdbCommand.java(203) - $ /usr/bin/pkgcmd -i -q -t wgt -p "/opt/usr/apps/tmp/Pilot.wgt"
[2014.09.02 16:54:08][DEBUG] SdbCommand.java(203) - $ rm -f /opt/usr/apps/tmp/Pilot.wgt
[2014.09.02 16:54:08][DEBUG] ZimLaunchDelegate.java(240) -
Error code: SIGNATURE_INVALID
Error message:
Command: /usr/bin/pkgcmd -i -q -t wgt -p "/opt/usr/apps/tmp/Pilot.wgt"
Management: Check author certificates in Preferences > Tizen SDK > Secure Profiles > Profile items.
[2014.09.02 16:54:08][DEBUG] LaunchesListener.java(187) - removed - project: Pilot, device serial: 529f31b34100626c
[2014.09.02 16:54:08][PERFORM_E] ZimLaunchDelegate.java(277) - [Category: web.launch] at 2014-09-02 16:54:08.967 [12170(ms)]
有些事情我尝试过:
- 该证书适用于由IDE生成的正确设备ID。试了两次与三星签约。
- 该证书被自动复制到齿轮的
/home/developer
。 - 我可以使用
sdb
安装示例.wgt
文件。 - 该项目多次清理,IDE和齿轮重新启动,齿轮已重置。
我的系统:
- OSX山狮
- Tizen IDE从安装经理tizen耐磨-SDK-2.2.151_macos64.bin(电流)
- Tizen SDK可穿戴,版本: 1.0.0b2,建立ID:20140411-1445(电流)
- 的Samsung Gear 2(SM-R380),固件R380XXU0BNE5(电流)
关于如何修复我的设置以便能够重新开发的任何想法?
我有类似的情况。作者签名被正确生成。也分发签名。正确要求三星账户。一切都假定是正确的,但签名仍然“无效”。我不得不重新连接齿轮s2设备齿轮android应用程序和更新 - 时间不同步。 – Nihilus13 2016-05-25 12:49:18