2

在 logcat 中不断出现错误

02-18 12:13:00.849: E/chromium(6915): external/chromium/net/disk_cache/stat_hub.cc:213: 
[0218/121300:ERROR:stat_hub.cc(213)] StatHub::Init - App  isn't supported.

应用程序仍在运行,但想知道是什么导致了这个错误,这会是一个问题

更新:谷歌地图脚本导致错误

 <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?key=AIzaSyCh2vwRCwkFWuEy8q-wbTF9vGobuyXC5G0&sensor=false"></script>

试图把它放在 config.xml

<access origin="*.googleapis.com" />
<access origin="*.gstatic.com" />

仍然无法正常工作并获得

Application Error
The connection to the server was unsuccessful. (file:///android_asset/www/index.html)
4

1 回答 1

3

对子域使用通配符目前不起作用。我建议改为执行以下操作:

<access origin="googleapis.com" subdomains="true" />
<access origin="gstatic.com" subdomains="true" />

我将在问题跟踪器中添加一个错误以修复此问题。当我们将配置拉到它自己的类时,我们似乎丢失了一些正则表达式逻辑。

于 2013-06-17T23:04:00.123 回答