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

Android builder copies some resources to wrong folders

$
0
0

Hello all, I am trying to run a Titanium app, which runs perfectly on ios, on Android. However, the app complains that it can't find some source code and assets. As you can see on the console output below it searches for a js file under Resources/ui/lib/ folder and it is where I placed it. But when I checked the build log, I found out that it is copied to an upper folder. And I couldn't manage to fix it.

I am open to any suggestions. Thanks.

Console output: ---

...
[ERROR][TiAssetHelper(  736)] Error while reading asset "Resources/ui/lib/tableview.js":
[ERROR][TiAssetHelper(  736)] java.io.FileNotFoundException: Resources/ui/lib/tableview.js
[ERROR][TiAssetHelper(  736)]   at android.content.res.AssetManager.openAsset(Native Method)
...
...
Builder output: ---
[TRACE] COPYING CREATED FILE: /Users/ertan/Programing/tepav/Resources/lib/tableview.js => /Users/ertan/Programing/tepav/build/android/bin/assets/Resources/lib/tableview.js

Viewing all articles
Browse latest Browse all 8068

Trending Articles



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