visual-studio - Visual Studio 中的 Tizen 开发卡在 "Initializing Debugger"对话框

标签 visual-studio tizen tizen-emulator

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

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

在那之后什么也没有发生。我可以按下取消按钮,然后可以在输出中看到以下对我没有帮助的内容:

: <<< 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

我希望有人能帮我解决这个问题(我几个月前就已经在这台机器上工作了)。

提前致谢。

最佳答案

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,它应该使用证书进行构建。

关于visual-studio - Visual Studio 中的 Tizen 开发卡在 "Initializing Debugger"对话框,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58250239/

相关文章:

connection - Tizen 错误 - 无法连接到远程目标 [ip]

javascript - Tizen 可穿戴平台上的基本 JavaScript/HTML 页面

tizen - 应用程序在 Tizen TV 模拟器中按预期运行,但在模拟器中不运行

visual-studio - Visual Studio 2008中的外部编辑器

visual-studio - Visual Studio 2017 不接受缩小 css

visual-studio - XNA 框架导入器

tizen - 为什么 tizen studio 无法连接到我的 S3 watch

Tizen 模拟器 - 没有可安装的平台

android - tizen 模拟器没有连接到设备

.net - 为什么我无法在 Visual Studio 中从此 WSDL 文件生成客户端代码?