- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I really don't think this is a duplicate question. I've searched with google/bing and searched the forums. Closest I could find was from two years ago and supposedly the XDK bugs were fixed for those instances.
Here's the error I'm getting:
It seems to be saying the file isn't found and needs to be 'somewhere', but I don't know how to get the file there or if maybe some setting or config file entry is missing or incorrect.
I'm getting this error on my Android phone when I run using the Intel XDK App Preview and when I do a regular build and then install the APK.
The line of code that I THINK is causing the issue is the bolded/italicized one below:
<script> $("#at_login").click(function(){ var newLocation = 'search.html'; var emulated = window.parent && window.parent.ripple; if (emulated) newLocation=newLocation; //I tried it with and without --> //getWebRoot() + window.location = newLocation; // <-- causing the issue }); function getWebRoot() { "use strict" ; var path = window.location.href ; path = path.substring( 0, path.lastIndexOf('/') ) ; path += '/'; return path; } </script>
search.html definitely exists in the project file/folder structure.
System setup: Win7 and XDK 3357
Project type: HTML5+Cordova
Started from: XDK-app-designer
This just a 'learn-it' project so I don't mind sharing my stupidity with the rest of the world:
505736
Thanks for any help you
- Tags:
- HTML5
- Intel® XDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Argh... you have got to be kidding me. I just figured it out.
I haven't seen this kind of case-sensitivity since my php days.
The search.html file had a capital 'S' (Search.html). I changed the javascript to blahblah = 'Search.html' and that fixed it.
I don't mind the case sensitivity, but was just surprised.
Ah well. Hopefully this post-of-stupidity will help someone else. :)
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Argh... you have got to be kidding me. I just figured it out.
I haven't seen this kind of case-sensitivity since my php days.
The search.html file had a capital 'S' (Search.html). I changed the javascript to blahblah = 'Search.html' and that fixed it.
I don't mind the case sensitivity, but was just surprised.
Ah well. Hopefully this post-of-stupidity will help someone else. :)

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page