如何为 Tizen Studio 安装设备管理器和模拟器管理器?
Posted
技术标签:
【中文标题】如何为 Tizen Studio 安装设备管理器和模拟器管理器?【英文标题】:How to install Device Manager and Emulator Manager for Tizen Studio? 【发布时间】:2017-11-23 20:01:36 【问题描述】:我正在尝试在 Windows 10 64 位上安装适用于 Tizen Studio 的设备和模拟器管理器,但无论我使用什么存储库,我都会遇到同样的问题。这是错误日志:
Start to install 'Emulator'.
The target packages to install:
[emulator-control-panel-common, emulator-common-lib, emulator-supplements, emulator-manager, emulator-storages, Emulator]
Start to download the target packages.
Waiting for finishing the downloads of the packages...
Cannot install the Tizen Studio package.
org.tizen.manager.exception.UMException: Cannot install the Tizen Studio package.
at org.tizen.manager.core.InstallController.wrapExceptionWithGeneralInstallException(InstallController.java:577)
at org.tizen.manager.core.InstallController.install(InstallController.java:652)
at org.tizen.manager.core.InstallController.install(InstallController.java:537)
at org.tizen.manager.core.Install.InstallProcess.run(InstallProcess.java:65)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.tizen.manager.exception.UMException: Cannot download the package file.
at org.tizen.manager.core.download.ManagerableDownloaderCallable.downloadPackageFile(ManagerableDownloaderCallable.java:350)
at org.tizen.manager.core.download.ManagerableDownloaderCallable.downloadPackage(ManagerableDownloaderCallable.java:206)
at org.tizen.manager.core.download.ManagerableDownloaderCallable.call(ManagerableDownloaderCallable.java:99)
at org.tizen.manager.core.download.ManagerableDownloaderCallable.call(ManagerableDownloaderCallable.java:63)
... 4 more
Caused by: org.tizen.manager.exception.UMException: The downloaded size of the file is not same as the actual size of it.
at org.tizen.manager.util.Downloader.downloadFile(Downloader.java:285)
at org.tizen.manager.util.Downloader.download(Downloader.java:137)
at org.tizen.manager.core.download.DownloaderCallable.call(DownloaderCallable.java:68)
at org.tizen.manager.core.download.DownloaderCallable.call(DownloaderCallable.java:40)
... 4 more
Recalculating the install state by failure...
Refreshing the install state of other packages...
Failed to install... Emulator
Start to install 'Device-Manager'.
The target packages to install:
[device-manager-product, Device-Manager]
Start to download the target packages.
Waiting for finishing the downloads of the packages...
Cannot install the Tizen Studio package.
org.tizen.manager.exception.UMException: Cannot install the Tizen Studio package.
at org.tizen.manager.core.InstallController.wrapExceptionWithGeneralInstallException(InstallController.java:577)
at org.tizen.manager.core.InstallController.install(InstallController.java:652)
at org.tizen.manager.core.InstallController.install(InstallController.java:537)
at org.tizen.manager.core.Install.InstallProcess.run(InstallProcess.java:65)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.tizen.manager.exception.UMException: Cannot download the package file.
at org.tizen.manager.core.download.ManagerableDownloaderCallable.downloadPackageFile(ManagerableDownloaderCallable.java:350)
at org.tizen.manager.core.download.ManagerableDownloaderCallable.downloadPackage(ManagerableDownloaderCallable.java:206)
at org.tizen.manager.core.download.ManagerableDownloaderCallable.call(ManagerableDownloaderCallable.java:99)
at org.tizen.manager.core.download.ManagerableDownloaderCallable.call(ManagerableDownloaderCallable.java:63)
... 4 more
Caused by: org.tizen.manager.exception.UMException: The downloaded size of the file is not same as the actual size of it.
at org.tizen.manager.util.Downloader.downloadFile(Downloader.java:285)
at org.tizen.manager.util.Downloader.download(Downloader.java:137)
at org.tizen.manager.core.download.DownloaderCallable.call(DownloaderCallable.java:68)
at org.tizen.manager.core.download.DownloaderCallable.call(DownloaderCallable.java:40)
... 4 more
Recalculating the install state by failure...
Refreshing the install state of other packages...
Failed to install... Device-Manager
在 Google 或 Stack Overflow 上搜索时,我没有找到任何类似的问题。它一直说“下载的文件大小与实际大小不同。”
【问题讨论】:
尝试使用“brazil.sdk-dl.tizen.org/sdk/tizenstudio”或“usa.sdk-dl.tizen.org/sdk/tizenstudio”作为包存储库。我想它可能会起作用。 再次尝试重新安装 Tizen Studio,检查您的防火墙设置 还要检查 Java Development Kit (JDK) 8 是否已安装。查看 Tizen Studio 的先决条件:developer.tizen.org/development/tizen-studio/download/… 【参考方案1】:您也可以尝试删除
中的缓存文件夹C:\Users\Username\AppData\Local\.package-manager
【讨论】:
以上是关于如何为 Tizen Studio 安装设备管理器和模拟器管理器?的主要内容,如果未能解决你的问题,请参考以下文章
fedora,tizen studio:“启动 sdb 失败”,无法连接 tizen 设备