Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Running app locally

$
0
0

I understand when you run your app on a local webserver (i.e.) 127.0.0.1, it runs and loads index.html for mobile web. I am trying to run my app directly by clicking on my index.html file within my resources folder. I want to use the file:// protocol, but due to security restrictions on the browser I cannot.

I get this error on the 1st line of my app. Where do I go from here? Is there a way around this?

I really need to get this to work, any suggestions are welcome.

XMLHttpRequest cannot load file:///Users/Matt/Desktop/testproject/titanium/Ti/_/UI/WebViewBridge.js. Cross origin requests are only supported for HTTP.

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>