图片不显示在Android模拟器的PhoneGap / jquerymobile应用 [英] Images not displayed on Android emulator for phonegap/jquerymobile app
问题描述
我正在开发使用jQuery Mobile PhoneGap的一个应用程序,并出于某些原因当部署到手机jQuery Mobile的图像不会在模拟器中显示或。然而,随着Web浏览器本地运行的网站时,他们工作得很好?
I'm developing a PhoneGap application with jQuery Mobile, and for some reason the jQuery mobile images are not displayed in the emulator or when deployed to a phone. Yet when running the site locally with a web browser, they work fine?
这是使用Eclipse我第一次(希望我最后要诚实)。有没有办法,我失去了一些东西?
This is my first time using Eclipse (and hopefully my last to be honest). Is there something that I'm missing?
文件夹结构
浏览器:
模拟器:
Emulator:
推荐答案
奇怪的是,这是造成的,因为CSS图像引用情况下,设备上的敏感。重命名图片文件夹图像解决了这一问题。
Surprisingly, this was caused because css image references are case sensitive on the devices. Renaming the 'Images' folder to 'images' fixed the problem.
这篇关于图片不显示在Android模拟器的PhoneGap / jquerymobile应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!