简体   繁体   中英

RequireJS doesn't load modules on crosswalk apps

My app works correctly in mobile browsers. It even works correctly in Intel XDK emulators. But when I build it as Crosswalk Android and run on device, my app doesn't work. I found out that requireJS just doesn't load modules that it should to load.

What can I do to fix this?

Solution was found. The problem was with wrong case of path constants. Windows ignores the mixed cases in string paths, because it case independent. But Android (Linux based OS) can't ignore case difference.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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