简体   繁体   English

Cordova应用滞后于Android设备

[英]Cordova app lagging in android device

I tried creating a cordova app and importing 2048 game code into it. 我尝试创建一个cordova应用并将2048个游戏代码导入其中。 Here's the link to that code : https://github.com/gabrielecirulli/2048 . 这是该代码的链接: https : //github.com/gabrielecirulli/2048

I have just copy pasted the entire contents from index.html and imported other css and js files. 我刚刚从index.html复制粘贴了全部内容,并导入了其他css和js文件。 The problem is that app works fine in iOS device but the scroll lags a lot in android device. 问题是该应用在iOS设备上运行良好,但滚动在Android设备上滞后很多。 I tried to find some solutions like fastclick script but could not see any result. 我试图找到一些解决方案,例如fastclick脚本,但看不到任何结果。 (Crosswalk is the solution but it increases app size so need an alternative solution) Any suggestions would be helpful. (Crosswalk是解决方案,但它会增加应用程序的大小,因此需要其他解决方案。)任何建议都将有所帮助。

I have Created iOS and Android build on real device using given source code( https://github.com/gabrielecirulli/2048 ). 我已经使用给定的源代码( https://github.com/gabrielecirulli/2048 )在真实设备上创建了iOS和Android。 Not find any type of scroll lags in android device. 在android设备中找不到任何类型的滚动滞后。 Is there any specific scenario explain in deatils. 在详细信息中是否有任何特定的场景说明。

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

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