简体   繁体   English

从Titan升级到Appcelerator后,WebView中的图像丢失

[英]images in webview missing after upgrade from titanium to appcelerator

After updating from titanium (sdk 3.2.3.GA) to appcelerator (SDK 5.1.2.GA) the images on all local webviews have went missing from the app. 从钛(SDK 3.2.3.GA)升级到加速器(SDK 5.1.2.GA)后,该应用程序中所有本地Web视图上的图像均丢失。 The CSS that loads the image is: 加载图像的CSS是:

background-image:url(imgs/images.png)

This error appears in my terminal when accessing the webview: 访问Webview时,此错误出现在我的终端中:

[ERROR] Error loading /Users/me/Library/Developer/CoreSimulator/Devices/28073F1B-1FFF-459A-BA4A-6CCA9EB85CEB/data/Containers/Bundle/Application/2B337E08-79EF-4EE1-A62F-338E45199403/MyApp.app/webViews/imgs/images.png

Again, this was working fine on older versions. 再次,这在旧版本上运行良好。

Any advice on what to check to get local images showing in webviews again? 关于如何检查以使本地图像再次显示在Webview中的任何建议?

It seems like you've found a regression. 看来您已经找到了回归。 Please check if this is a known issue at the Appcelerator JIRA . 请在Appcelerator JIRA中检查这是否是已知问题。 If it's not, create a ticket, link to this question but also provide reproducible code, steps and environment information in the ticket itself. 如果不是,请创建票证,链接到该问题,同时在票证本身中提供可复制的代码,步骤和环境信息。 Don't forget to drop a link to the ticket here so that others can watch it with you. 别忘了在此处删除指向票证的链接,以便其他人可以与您一起观看。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM