在向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