Solutions to Common Problems: Difference between revisions
Line 11: | Line 11: | ||
# Check the mime type on the manifest file at http://web-sniffer.net. It should be <code>text/cache-manifest</code>. The path to enter will be <project path>/OfflineApp.appcache. (.manifest for older projects). If it is incorrect, see [[Distributing_your_App#Setting_up_your_server_for_manifest_files_.28Apache.29|Setting up your server for manifest files]]. | # Check the mime type on the manifest file at http://web-sniffer.net. It should be <code>text/cache-manifest</code>. The path to enter will be <project path>/OfflineApp.appcache. (.manifest for older projects). If it is incorrect, see [[Distributing_your_App#Setting_up_your_server_for_manifest_files_.28Apache.29|Setting up your server for manifest files]]. | ||
# Check to make sure that Private Browsing is not turned on. | # Check to make sure that Private Browsing is not turned on. | ||
# If possible, use the Chrome browser on Android devices (not the older Android browser). | |||
# If all else fails, try clearing the cache of your browser. On iOS 6, do this by Settings...Safari...Advanced...Website Data...Edit...wipe out nsbapp.com (or the name of your server) | # If all else fails, try clearing the cache of your browser. On iOS 6, do this by Settings...Safari...Advanced...Website Data...Edit...wipe out nsbapp.com (or the name of your server) | ||
Revision as of 18:43, 5 February 2013
My app gets an error box when run on a device, or it does not run in Airplane mode.
This means it is trying to use a file that has not been cached on the device. In Project Properties, check that all the images and files are listed in the manifest.
- Open a new Chrome window on the desktop.
- Open the Chrome Debugger by clicking ctrl shift J on the keyboard.
- Enter the URL of your program on your deploy site and hit enter.
- In the message panel at the bottom of the screen, you will see the files it caches.
- Make sure all the files your app uses appear without errors.
- Check the mime type on the manifest file at http://web-sniffer.net. It should be
text/cache-manifest
. The path to enter will be <project path>/OfflineApp.appcache. (.manifest for older projects). If it is incorrect, see Setting up your server for manifest files. - Check to make sure that Private Browsing is not turned on.
- If possible, use the Chrome browser on Android devices (not the older Android browser).
- If all else fails, try clearing the cache of your browser. On iOS 6, do this by Settings...Safari...Advanced...Website Data...Edit...wipe out nsbapp.com (or the name of your server)
When I run my app on the desktop, I just get a blank screen.
Your program is probably getting an error. Hit Ctrl-shift-J to open the Chrome Debugger (assuming you are using Chrome). You'll see the error.
My app runs OK on the desktop, but nothing appears on the device.
Check if JavaScript is turned off on the device.
Parts of the IDE are distorted or do not pop up properly in Windows.
Check if you are using an Aero theme on your desktop. Try switching to a non Aero theme.
The background on the Design Screen is blank.
- If you are running on a Mac using Parallels, make sure that 'My Documents' in Windows is not mapped to its Mac equivalent.
- If you installed to a server, move \Documents\NS Basic Samples\ to your local system. Write access is required to that directory.
I'm running Anti Virus software. What could go wrong?
Norton: Blocks installation with a WS.Reputation.1 message. If an executable is unknown to Norton (perhaps it is new), it automatically quarantines it. Since we update AppStudio frequently, this happens occasionally. Just take it out of the quarantine and it will work. We have contacted Norton about this - they say they have removed the block.
McAfee: AppStudio runs slowly. McAfee has a Real Time Scanning option that intercepts every system call that the apps on your system make. On slower computers, this feature can bring the system to a crawl. Disable this feature to solve the problem.
Kaspersky: AppStudio does not run. We're not sure if this Kaspersky related, or a corrupted system which caused this one. The solution was to
- sfc /scannow, which resulted in the message that there were files to be repaired.
- update NVIDIA display driver of Jan 2013.
In the Design Screen, some of my controls do not appear
Are you using an HTMLview control anywhere in your project? If so, check that the innerHTML value is valid and complete HTML. For example, forgetting to match a <div> or <font> tag with a matching </div> or </font> tag will cause other problems in your project.