我正在尝试将我的Tizen Wearable 2.3.2原生应用程序部署到通过WiFi连接的Samsung Gear S3上。我在Ubuntu 16.04 LTS上运行Tizen Studio 1.2。
我以前在模拟器和同一块手表上多次成功运行我的应用程序,但是现在当我尝试运行应用程序时,我会弹出一个窗口说
'启动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)
到目前为止,我已经尝试过:
基于此,我认为问题不是针对具体项目的。我认为这可能是全局Tizen Studio配置问题,也可能是我与手表的连接问题。但是,我无法在Tizen Studio中找到任何其他java.io.IOException
报告在线运行。
非常感谢任何帮助。谢谢!