corona-textrender
corona-textrender copied to clipboard
Android "Missing picture"
Hey, first of all. Amazing package and thanks for making this :)
I get a problem with Android. Where the <img src="assets/images/image-file.jpg">
should be it just says "Missing picture: assets/images/image-file.jpg"
Works in simulator and on iOS.
Any idea how to fix it?
I’ve read that Android apparently can’t handle sub-directories and images very well. Has to do with their file storage tricks.
https://coronalabs.com/blog/2013/02/13/faq-wednesday-sub-folder-and-file-access/ https://coronalabs.com/blog/2013/02/13/faq-wednesday-sub-folder-and-file-access/
https://forums.coronalabs.com/topic/43171-problems-determining-if-image-file-exists-on-android/ https://forums.coronalabs.com/topic/43171-problems-determining-if-image-file-exists-on-android/
Here’s what I recall, from reading about this on the Corona website:
- You need to either move images into the main directory
- OR, do something like rename your images with “.txt”! Weird, but apparently so.
So, my guess is the fix is to make all “.jpg” files be “.jpg.txt” and hope that works. Or, change all directory references to the main directory.
I’ve got tons of code that won’t work on Android because of these limitations. So sad.
-David
On Mar 20, 2017, at 10:52 AM, Icedor [email protected] wrote:
Hey, first of all. Amazing package and thanks for making this :)
I get a problem with Android. Where the x-msg://16/assets/images/image-file.jpg should be it just says "Missing Image: assets/images/image-file.jpg"
Works in simulator and on iOS.
Any idea how to fix it?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mimetic/corona-textrender/issues/7, or mute the thread https://github.com/notifications/unsubscribe-auth/AAB18zGOEeJ42eLNh7S1BAYfTE-AKrD4ks5rnrzSgaJpZM4Miygf.
...David I. Gross...
Inside-Outside Project Fundraiser: http://gofundme.com/insideoutsideproject http://gofundme.com/insideoutsideproject
LinkedIn: http://www.linkedin.com/in/davidigross Photo Portfolio site: http://www.davidgrossphoto.com/ Inside-Outside: http://insideoutsideproject.com/ Mimetic Books: http://www.mimetic.com/ Mimetic Galleries: http://info.mimetic.com/
Email: [email protected] mailto:[email protected] Secure: [email protected] mailto:[email protected] (you need an account)
Mobile (direct) : +1 (408) 464-6182 (Pacific Time) Travel Tel: +1 (408) 827-8557 (GMT -8:00) Skype : davidgross
CONFIDENTIALITY NOTE: This e-mail and any attachments or previous e-mail messages attached to it are confidential and may be protected by legal privilege. If you are not the intended recipient, you are hereby notified that any disclosure, distribution, or copying of this message, or any attachment, is prohibited. If you have received this message in error, please notify the original sender immediately by returning it to the sender and delete this copy, along with any attachments, from your computer without reading or saving it in any manner. Thank you for your cooperation.
Thanks for your quick response 👍
Wierd! I'll see how to move on but at least there is a solution.
Yeah, in theory! I’ve been afraid to deal with Android because of this kind of thing. -D
On Mar 20, 2017, at 11:12 AM, Icedor [email protected] wrote:
Thanks for your quick response 👍
Wierd! I'll see how to move on but at least there is a solution.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mimetic/corona-textrender/issues/7#issuecomment-287849352, or mute the thread https://github.com/notifications/unsubscribe-auth/AAB189XwC1BLxNSIUV5-BhsGmyHWAq3Qks5rnsGUgaJpZM4Miygf.
...David I. Gross...
Inside-Outside Project Fundraiser: http://gofundme.com/insideoutsideproject http://gofundme.com/insideoutsideproject
LinkedIn: http://www.linkedin.com/in/davidigross Photo Portfolio site: http://www.davidgrossphoto.com/ Inside-Outside: http://insideoutsideproject.com/ Mimetic Books: http://www.mimetic.com/ Mimetic Galleries: http://info.mimetic.com/
Email: [email protected] mailto:[email protected] Secure: [email protected] mailto:[email protected] (you need an account)
Mobile (direct) : +1 (408) 464-6182 (Pacific Time) Travel Tel: +1 (408) 827-8557 (GMT -8:00) Skype : davidgross
CONFIDENTIALITY NOTE: This e-mail and any attachments or previous e-mail messages attached to it are confidential and may be protected by legal privilege. If you are not the intended recipient, you are hereby notified that any disclosure, distribution, or copying of this message, or any attachment, is prohibited. If you have received this message in error, please notify the original sender immediately by returning it to the sender and delete this copy, along with any attachments, from your computer without reading or saving it in any manner. Thank you for your cooperation.