在链接中添加参数会导致网络错误(Android 4.0.3+;PhoneGap)

在链接中添加参数会导致网络错误(Android 4.0.3+;PhoneGap),android,jquery-mobile,cordova,Android,Jquery Mobile,Cordova,当尝试从index.html页面导航到purchase.html时,如果向链接添加参数,则会出现“出现网络错误” <a href="purchase.html?id=2">. 。 移除“?id=2”后,链接即可工作 这是详细的错误消息: 04-08 21:09:23.850:D/Cordova(967):DroidGap:GapViewClient.onReceivedError:Error code=-1 Description=发生网络错误。网址=file:///andro

当尝试从index.html页面导航到purchase.html时,如果向链接添加参数,则会出现“出现网络错误”

<a href="purchase.html?id=2">. 
移除“?id=2”后,链接即可工作

这是详细的错误消息:
04-08 21:09:23.850:D/Cordova(967):DroidGap:GapViewClient.onReceivedError:Error code=-1 Description=发生网络错误。网址=file:///android_asset/www/purchase.html?id=2这似乎是Android的一个主要问题

是的,请在问题上加星号。同时,使用localStorage在页面之间传递参数。这实际上是一个更优雅的解决方案!