Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (filenotfound)
Viewing all articles
Browse latest Browse all 5

FileNotFoundException for app.js when submit to Android Marketplace

$
0
0

I have an app that works great on iPhone and also works perfectly in the emulator for Android. Unfortunately I don't have access to an Android phone right now to load it on for hardware testing. When I submit the .apk to the Android marketplace, I receive error reports that seem like the initial app.js doesn't load. I've tried everything but suspect there's something weird with my tiapp.xml or AndroidManifest.xml.

Thanks in advance for any ideas you can provide!

I receive the below error:

org.mozilla.javascript.WrappedException: Wrapped java.io.FileNotFoundException: /sdcard/Ti.debug/QuakeAware/Resources/app.js (No such file or directory)
at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Unknown Source)
at org.appcelerator.titanium.kroll.KrollContext.handleEvalFile(KrollContext.java:168)
at org.appcelerator.titanium.kroll.KrollContext.handleMessage(KrollContext.java:101)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:144)
at android.os.HandlerThread.run(HandlerThread.java:60)
Caused by: java.io.FileNotFoundException: /sdcard/Ti.debug/QuakeAware/Resources/app.js (No such file or directory)
at org.apache.harmony.luni.platform.OSFileSystem.openImpl(Native Method)
at org.apache.harmony.luni.platform.OSFileSystem.open(OSFileSystem.java:152)
at java.io.FileInputStream.<init>(FileInputStream.java:82)
at org.appcelerator.titanium.io.TiResourceFile.getInputStream(TiResourceFile.java:76)
at org.appcelerator.titanium.kroll.KrollContext.handleEvalFile(KrollContext.java:158)

Viewing all articles
Browse latest Browse all 5

Trending Articles



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