我正在尝试将我的 Tizen Wearable 2.3.2 本机应用程序部署到通过 WiFi 连接的 Samsung Gear S3 上。我在 Ubuntu 16.04 LTS 上运行 Tizen Studio 1.2。
我以前在模拟器和同一只手表上多次成功运行我的应用程序,但是现在当我尝试运行该应用程序时,我得到一个弹出窗口说
“Launching MyApp Debug”遇到了问题。
无法启动应用程序。
单击详细信息按钮后,我得到
Cannot launch application.
java.io.IOException
运行尝试的完整控制台输出是
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 '/home/rytse/tizen-studio-data/ide/logs/ide-20170804_153529.log'.
[Deploying the package...]
RDS: On
pkg_type [rpm] pkgid [org.example.myapp] name [myapp] version [1.0.0]
Pkgid: org.example.myapp is already Terminated
spend time for pkgcmd is [321]ms
cmd_ret:0
Archive: /opt/usr/apps/tmp/org.example.myapp/org.example.myapp.zip
inflating: /opt/usr/apps/tmp/org.example.myapp/author-signature.xml
inflating: /opt/usr/apps/tmp/org.example.myapp/signature1.xml
cmd_ret:0
[RDS] Pushing file "/home/rytse/workspace/MyApp/org.example.myapp.zip" to "/opt/usr/apps/tmp/org.example.myapp/org.example.myapp.zip" in target...
[RDS] Pushing file "/home/rytse/workspace/MyApp/.rds_delta" to "/opt/usr/apps/tmp/org.example.myapp/.rds_delta" in target...
start process (update)
.
end process (fail)
processing result : FATAL_ERROR [61] failed
spend time for pkgcmd is [791]ms
cmd_ret:61
[RDS] Cannot partially upload or reinstall
[Creating the package...]
Created the package: /home/rytse/workspace/MyApp/Debug/org.example.myapp-1.0.0-arm.tpk
[Transferring the package...]
Transferred the package: /home/rytse/workspace/MyApp/Debug/org.example.myapp-1.0.0-arm.tpk -> /opt/usr/apps/tmp
[Installing the package...]
Uninstalling the package...
path is /opt/usr/apps/tmp/org.example.myapp-1.0.0-arm.tpk
start process (install)
...
end process (ok)
spend time for pkgcmd is [5022]ms
cmd_ret:0
Installed the package: Id(org.example.myapp), Version(1.0.0)
[Running the application...]
... launch failed
(22.441 sec)
到目前为止,我已经尝试过:
- ping手表(ping成功)
- 断开和重新连接到手表
- 清洁建筑签名包
- 清除并重新生成我的三星证书
- 删除并重新创建运行配置
- 将我的应用程序的工作版本克隆到不同的目录中
基于此,我认为问题不是特定于项目的。我认为这可能是全局 Tizen Studio 配置问题或我与手表的连接问题。但是,我无法找到任何其他关于java.io.IOException
Tizen Studio 在线运行的报告。
任何帮助将不胜感激。谢谢!