Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

run on simulator but not on device(ponytiled included)
Started by alessandro.imbastari Aug 27 2018 08:26 AM

2 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

alessandro.imbastari

[GLOBAL: userInfoPane.html]
alessandro.imbastari
  • Observer

  • 1 posts
  • Corona SDK

Hi guys, 

i'm building an apk that on corona simulator work perfectly, but when it goes to run it on my android device it works untill i press start when the app return me this : 

Thank you in advance :) 

Attached Files



[TOPIC: post.html]
#2

cyberparkstudios

[GLOBAL: userInfoPane.html]
cyberparkstudios
  • Contributor

  • 537 posts
  • Corona SDK

Alessandro,

 

The usual cause of this error is that the image path is wrong, mis-spelled, or the image does not exist.  Path is case-sensitive.  If the image in question is an image ponytiled provided, be sure you have that image in your app's directory and/or sub-directory that the ponytiled code indicates.

 

just as an example :

it might be something like   PonyTiled/UI/images/wheelImage.png

 

The case must match exactly.

 

Good luck on your app.

 

Bob



[TOPIC: post.html]
#3

yosu

[GLOBAL: userInfoPane.html]
yosu
  • Contributor

  • 503 posts
  • Corona SDK

See the logcat on the Android device. If image isn't found, it will show an error.

 

Ensure you didn't 'exclude' the file in your build-settings (this happened to me) and also the image-folder is correct (e.g. system.ResourceDirectory)




[topic_controls]
[/topic_controls]