首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Visual Studio中的Tizen开发使用“初始化调试器”对话框

Visual Studio中的Tizen开发使用“初始化调试器”对话框
EN

Stack Overflow用户
提问于 2019-10-06 00:28:10
回答 2查看 1K关注 0票数 3

我在VS 2019中启动了一个新的TizenWearableApp,启动了Tizen-Emulator并点击了run。

Tizen的输出显示了成功的构建,并且应用程序使用默认证书进行了签名。在那之后,最后打印的一行是.tpk文件的完整路径和一个带有“初始化调试器”的Microsoft Visual Studio对话框...-> https://imgur.com/a/91sEknd的卡住状态屏幕截图

在此之后,不会再发生任何事情。我可以按下cancle按钮,然后可以在输出中看到以下对我没有帮助的内容:

代码语言:javascript
复制
: <<< 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

我希望任何人都能帮助我解决这个问题(我在这台机器上已经工作了几个月)。

提前谢谢。

EN

回答 2

Stack Overflow用户

发布于 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文件,然后添加以下内容,替换为我创建的证书目录和我的密码:

代码语言:javascript
复制
<PropertyGroup>
 <AuthorPath>author_test.p12</AuthorPath>
 <AuthorPass>author_test</AuthorPass>
 <DistributorPath>tizen-distributor-signer.p12</DistributorPath>
 <DistributorPass>tizenpkcs12passfordsigner</DistributorPass>
</PropertyGroup>

只需将它放在任何其他属性组标签的下面。再次打开Visual Studio,它应该使用证书进行构建。

票数 3
EN

Stack Overflow用户

发布于 2020-11-05 15:16:22

面对同样的情况。原因是使用错误的分销商签名的证书-对于物理设备(未仿真),您需要三星分销商证书。您需要做的是:

  1. 在Tizen包管理器中安装三星证书扩展
  2. 打开证书管理器
  3. 运行证书配置文件向导并选择三星选项
  4. Follow wizard

请参阅https://stackoverflow.com/a/40755444/4165898

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/58250239

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档