Anyone? I'm at a dead stop here and out of ideas.
Did you try if exporting to crosswalk works?
(if you want to support devices with android below 4.4 you'll probably need it anyway)
Like I said, maybe the webview of your device doesn't support local storage..
This would mean inside IntelXDK preview it works, because they assume your device supports it..
If all doesn't work, I found this on the interwebs:
On this site:
Local Database IntelXDK
It says:
What if WebView doesn’t support IndexedDB?
Some browser don’t support IndexedDB. So you can include third-party IndexedDB plugin in your app. This plugin adds support for IndexedDB.
That plugin can be found here:
Cordova indexedDB