IBM MobileFirst 直接更新失败
IBM MobileFirst direct update failure
我正在使用 IBM MobileFirst 7.0 创建混合应用程序。我们最近为 android 部署了 .wlapp 文件,没有更改以前的应用程序版本。成功部署后,当我 运行 应用程序时,我收到以下警报消息 -
"Newer web resources are available. Would you like to download them now?(file size is 86KB)"
点击更新按钮后,解压进度条出现并填满。但最后我收到消息- "Update failed. Direct update failure."
我已尝试在移动互联网和 WiFi 上更新应用程序,但问题仍然存在persists.Previously直接更新功能运行良好。
Logcat 日志:
06-17 18:44:14.099: D/dalvikvm(17948): GC_FOR_ALLOC freed 485K, 62% free 4275K/11180K, paused 14ms, total 18ms
06-17 18:44:14.109: D/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): WLDirectUpdateDownloader.downloadZipFile in WLDirectUpdateDownloader.java:143 :: 7772 bytes are already available.
06-17 18:44:14.149: D/dalvikvm(17948): GC_FOR_ALLOC freed 553K, 63% free 4218K/11180K, paused 10ms, total 10ms
06-17 18:44:14.149: W/HardwareRenderer(17948): Attempting to initialize hardware acceleration outside of the main thread, aborting
06-17 18:44:14.159: W/PluginManager(17948): THREAD WARNING: exec() call to WLDirectUpdatePlugin.showProgressDialog blocked the main thread for 95ms. Plugin should use CordovaInterface.getThreadPool().
06-17 18:44:14.219: I/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): WLDirectUpdateDownloader.validateZipFileIntegrity in WLDirectUpdateDownloader.java:113 :: Direct update authenticity public key not provided, direct update authenticity check disabled
06-17 18:44:14.229: D/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): WLDirectUpdateDownloader.extractZipFile in WLDirectUpdateDownloader.java:265 :: Start copy files to local storage from updated zip file...
06-17 18:44:14.229: D/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): WLDirectUpdateDownloader.extractZipFile in WLDirectUpdateDownloader.java:266 :: Size of zip file is 7772
06-17 18:44:14.459: D/dalvikvm(17948): GC_FOR_ALLOC freed 443K, 62% free 4280K/11180K, paused 15ms, total 15ms
06-17 18:44:14.459: D/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): WLDirectUpdateDownloader.handleDeltaUpdate in WLDirectUpdateDownloader.java:392 :: Differential Direct Update - delta package detected
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): WLDirectUpdateDownloader.handleDeltaUpdate in WLDirectUpdateDownloader.java:410 :: Can't copy web resources:
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): java.io.FileNotFoundException: www/default/index.html~
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): at android.content.res.AssetManager.openAsset(Native Method)
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): at android.content.res.AssetManager.open(AssetManager.java:316)
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): at android.content.res.AssetManager.open(AssetManager.java:290)
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): at com.worklight.androidgap.directupdate.WLDirectUpdateDownloader.copyListFromAssets(WLDirectUpdateDownloader.java:472)
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): at com.worklight.androidgap.directupdate.WLDirectUpdateDownloader.handleDeltaUpdate(WLDirectUpdateDownloader.java:406)
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): at com.worklight.androidgap.directupdate.WLDirectUpdateDownloader.extractZipFile(WLDirectUpdateDownloader.java:352)
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): at com.worklight.androidgap.directupdate.WLDirectUpdateDownloader.startDirectUpdate(WLDirectUpdateDownloader.java:96)
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): at com.worklight.androidgap.directupdate.WLDirectUpdateDownloader.doInBackground(WLDirectUpdateDownloader.java:83)
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): at com.worklight.androidgap.directupdate.WLDirectUpdateDownloader.doInBackground(WLDirectUpdateDownloader.java:49)
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): at android.os.AsyncTask.call(AsyncTask.java:288)
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): at android.os.AsyncTask$SerialExecutor.run(AsyncTask.java:231)
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): at java.lang.Thread.run(Thread.java:841)
06-17 18:44:15.499: W/PluginManager(17948): THREAD WARNING: exec() call to WLDirectUpdatePlugin.hideProgressDialog blocked the main thread for 1007ms. Plugin should use CordovaInterface.getThreadPool().
建议从 IBM Fix Central 更新到最新的可用补丁级别 (iFix),并重新构建应用程序(确保首先在 descriptor.xml 中更新版本并发布新版本到应用程序商店,以说明应用程序 本机 资源的变化。
我正在使用 IBM MobileFirst 7.0 创建混合应用程序。我们最近为 android 部署了 .wlapp 文件,没有更改以前的应用程序版本。成功部署后,当我 运行 应用程序时,我收到以下警报消息 -
"Newer web resources are available. Would you like to download them now?(file size is 86KB)"
点击更新按钮后,解压进度条出现并填满。但最后我收到消息- "Update failed. Direct update failure."
我已尝试在移动互联网和 WiFi 上更新应用程序,但问题仍然存在persists.Previously直接更新功能运行良好。
Logcat 日志:
06-17 18:44:14.099: D/dalvikvm(17948): GC_FOR_ALLOC freed 485K, 62% free 4275K/11180K, paused 14ms, total 18ms
06-17 18:44:14.109: D/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): WLDirectUpdateDownloader.downloadZipFile in WLDirectUpdateDownloader.java:143 :: 7772 bytes are already available.
06-17 18:44:14.149: D/dalvikvm(17948): GC_FOR_ALLOC freed 553K, 63% free 4218K/11180K, paused 10ms, total 10ms
06-17 18:44:14.149: W/HardwareRenderer(17948): Attempting to initialize hardware acceleration outside of the main thread, aborting
06-17 18:44:14.159: W/PluginManager(17948): THREAD WARNING: exec() call to WLDirectUpdatePlugin.showProgressDialog blocked the main thread for 95ms. Plugin should use CordovaInterface.getThreadPool().
06-17 18:44:14.219: I/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): WLDirectUpdateDownloader.validateZipFileIntegrity in WLDirectUpdateDownloader.java:113 :: Direct update authenticity public key not provided, direct update authenticity check disabled
06-17 18:44:14.229: D/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): WLDirectUpdateDownloader.extractZipFile in WLDirectUpdateDownloader.java:265 :: Start copy files to local storage from updated zip file...
06-17 18:44:14.229: D/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): WLDirectUpdateDownloader.extractZipFile in WLDirectUpdateDownloader.java:266 :: Size of zip file is 7772
06-17 18:44:14.459: D/dalvikvm(17948): GC_FOR_ALLOC freed 443K, 62% free 4280K/11180K, paused 15ms, total 15ms
06-17 18:44:14.459: D/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): WLDirectUpdateDownloader.handleDeltaUpdate in WLDirectUpdateDownloader.java:392 :: Differential Direct Update - delta package detected
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): WLDirectUpdateDownloader.handleDeltaUpdate in WLDirectUpdateDownloader.java:410 :: Can't copy web resources:
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): java.io.FileNotFoundException: www/default/index.html~
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): at android.content.res.AssetManager.openAsset(Native Method)
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): at android.content.res.AssetManager.open(AssetManager.java:316)
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): at android.content.res.AssetManager.open(AssetManager.java:290)
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): at com.worklight.androidgap.directupdate.WLDirectUpdateDownloader.copyListFromAssets(WLDirectUpdateDownloader.java:472)
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): at com.worklight.androidgap.directupdate.WLDirectUpdateDownloader.handleDeltaUpdate(WLDirectUpdateDownloader.java:406)
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): at com.worklight.androidgap.directupdate.WLDirectUpdateDownloader.extractZipFile(WLDirectUpdateDownloader.java:352)
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): at com.worklight.androidgap.directupdate.WLDirectUpdateDownloader.startDirectUpdate(WLDirectUpdateDownloader.java:96)
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): at com.worklight.androidgap.directupdate.WLDirectUpdateDownloader.doInBackground(WLDirectUpdateDownloader.java:83)
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): at com.worklight.androidgap.directupdate.WLDirectUpdateDownloader.doInBackground(WLDirectUpdateDownloader.java:49)
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): at android.os.AsyncTask.call(AsyncTask.java:288)
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): at android.os.AsyncTask$SerialExecutor.run(AsyncTask.java:231)
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
06-17 18:44:14.489: E/com.worklight.androidgap.directupdate.WLDirectUpdateDownloader(17948): at java.lang.Thread.run(Thread.java:841)
06-17 18:44:15.499: W/PluginManager(17948): THREAD WARNING: exec() call to WLDirectUpdatePlugin.hideProgressDialog blocked the main thread for 1007ms. Plugin should use CordovaInterface.getThreadPool().
建议从 IBM Fix Central 更新到最新的可用补丁级别 (iFix),并重新构建应用程序(确保首先在 descriptor.xml 中更新版本并发布新版本到应用程序商店,以说明应用程序 本机 资源的变化。