stephenstafford
Apple Fan
Profile
Posts: 27
Reg: Nov 02, 2011
Southampton
3,370
01/05/14 11:19 AM (11 years ago)

Missing assets

I'm having troubles while developing an android version of an iOS app which is already live. The app launches on the emulator but none of the images from the Menu Buttons plugin or html documents are showing (I get an error message saying 'The document cannot be found in the application assets'. My BT_images folder is in res > drawable and the html docs are in the BT_docs folder under assets Any advice appreciated.
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
01/05/14 11:49 AM (11 years ago)
Try putting all images in same folder as the html pages. Make sure all names are lower case and no special characters. LA
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
01/05/14 02:42 PM (11 years ago)
As @LA says, the images for the html should be in the same folder. However, the images for the menus do go in res drawable, but do not use subfolders. Alan
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/05/14 03:34 PM (11 years ago)
Echoing the above comments of LA and Alan, I use this rule of thumb: If "BT" is using it, it will go in res/drawable. If your 'asset' is using it, it will go into the same directory as the asset. Cheers! -- Smug
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.