我在VS 2019中启动了一个新的TizenWearableApp,启动了Tizen-Emulator并点击了run。
Tizen的输出显示了成功的构建,并且应用程序使用默认证书进行了签名。在那之后,最后打印的一行是.tpk文件的完整路径和一个带有“初始化调试器”的Microsoft Visual Studio对话框...-> https://imgur.com/a/91sEknd的卡住状态屏幕截图
在此之后,不会再发生任何事情。我可以按下cancle按钮,然后可以在输出中看到以下对我没有帮助的内容:
: <<< Start debugging "org.tizen.example.TizenWearableAppV4" >>>
: Try to terminate running application: org.tizen.example.TizenWearableAppV4
: No application to be terminated: 255
WARNING: Your data are to be sent over an unencrypted connection and could be read by others.
pushed org.tizen.example.TizenWearableAppV4-1.0.0.tpk 0% 0KB 0KB/s
pushed org.tizen.example.TizenWearableAppV4-1.0.0.tpk 100% 19KB 0KB/s
1 file(s) pushed. 0 file(s) skipped.
D:\repos\Tizen\TizenWearableAppV4\TizenWearableAppV4\bin\Debug\tizen40\org.tizen.example.TizenWearableAppV4-1.0.0.tpk 447KB/s (19702 bytes in 0.042s)
path is /home/owner/share/tmp/sdk_tools/org.tizen.example.TizenWearableAppV4-1.0.0.tpk
processing result : Operation not allowed [-4] failed
Package found on the target system: "lldb-3.8.1-i686" (tar.gz)
: Launching org.tizen.example.TizenWearableAppV4
: 'org.tizen.example.TizenWearableAppV4' is dependent on 'org.tizen.example.TizenWearableAppV4-1.0.0.tpk'.
: ... launch failed我希望任何人都能帮助我解决这个问题(我在这台机器上已经工作了几个月)。
提前谢谢。
发布于 2020-09-08 04:13:58
https://github.com/Samsung/build-task-tizen/blob/master/doc/tizen.net.sdk-signing-tpk.md
这是对我有帮助的页面。我也有同样的问题,但我不想每次都从tizen.bat构建。上面文档中对我有效的解决方案是关闭Visual Studio并打开我的解决方案中的*.csproj文件,然后添加以下内容,替换为我创建的证书目录和我的密码:
<PropertyGroup>
<AuthorPath>author_test.p12</AuthorPath>
<AuthorPass>author_test</AuthorPass>
<DistributorPath>tizen-distributor-signer.p12</DistributorPath>
<DistributorPass>tizenpkcs12passfordsigner</DistributorPass>
</PropertyGroup>只需将它放在任何其他属性组标签的下面。再次打开Visual Studio,它应该使用证书进行构建。
发布于 2020-11-05 15:16:22
面对同样的情况。原因是使用错误的分销商签名的证书-对于物理设备(未仿真),您需要三星分销商证书。您需要做的是:
https://stackoverflow.com/questions/58250239
复制相似问题