我有一个与科尔多瓦(或phonegap)Android应用程序2周加紧包裹的apk加载index.html两次(两个页面重叠),然后事件exuted也是两次。科尔多瓦(或phonegap)Android应用程序加载index.html两次
细节:
1. I disigned a html5 page with contruct2 in which touch a image then alert "Ok";
2. I exported the project to android or phonegap
3. I wrapped it with CLI of crosswalk,it works fine;
4. I wrapped it with XDK,it works fine too;
5.I dont like these above two tools,apk size is too big;
6.I wrapped it(pages exported android or pages exported phonegap)
with CLI of cordova and CLI of Phonegap ,all fine except but the index.html
was loaded twice (the two pages overlap) and when touched the image, it alert twice.
能某人帮助我,非常感谢,很困惑。