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

File Not Found!

$
0
0

I have this file in this path: Resources/suds.js

When I use include, I do:

Titanium.include('../suds.js');
 
// '../' because I'm including it from Resources/Controllers/, 
//so go back one folder and find file suds.js.
It does find the file suds.js in the Resources folder! It's also in the build directory: PROJECT/build/android/bin/assets/Resources

But when I run it on Android (Device) I get this:

Wrapped java.io.FileNotFoundException:
Resources/android_asset/Resources/suds.js (file:///android_asset/
Resources/Controllers/ConfigController.js#10)
Where #10 is the line of the
Ti.include('../suds.js');
Any clue of what's going on? I've been losing time with this for a while now. This doesn't make any sense.

Can anybody help, please?


Viewing all articles
Browse latest Browse all 5

Trending Articles



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