Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Failed to find image 'widget_theme_android_holo_dark.png'
Started by postovarov Aug 11 2019 11:32 PM

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

postovarov

[GLOBAL: userInfoPane.html]
postovarov
  • Observer

  • 1 posts
  • Corona SDK

Hello. I am new to using Corona Native. When I create native android build for my app, everything works fine except strange runtime errors in log:

 

08-09 19:41:31.848 11188 11215 I Corona  : ERROR: display.newImageRect() bad arg
ument #2: filename or image sheet expected, but got nil
08-09 19:41:31.848 11188 11215 I Corona  : ERROR: Runtime error
08-09 19:41:31.848 11188 11215 I Corona  : ?:0: attempt to index field 'topFrame
' (a nil value)
08-09 19:41:31.848 11188 11215 I Corona  : stack traceback:
08-09 19:41:31.848 11188 11215 I Corona  :      ?: in function 'createScrollBar'
 
08-09 19:41:31.848 11188 11215 I Corona  :      ?: in function '_listener'
08-09 19:41:31.848 11188 11215 I Corona  :      ?: in function '?'
08-09 19:41:31.848 11188 11215 I Corona  :      ?: in function <?:205>
08-09 19:41:31.858 11188 11215 I Corona  : WARNING: Failed to find image 'widget
_theme_android_holo_dark.png'
08-09 19:41:31.858 11188 11215 I Corona  : ERROR: display.newImageRect() bad arg
ument #2: filename or image sheet expected, but got nil
08-09 19:41:31.858 11188 11215 I Corona  : ERROR: Runtime error
08-09 19:41:31.858 11188 11215 I Corona  : ?:0: attempt to index field 'topFrame
' (a nil value)
08-09 19:41:31.858 11188 11215 I Corona  : stack traceback:
08-09 19:41:31.858 11188 11215 I Corona  :      ?: in function 'createScrollBar'
 
08-09 19:41:31.858 11188 11215 I Corona  :      ?: in function '_listener'
08-09 19:41:31.858 11188 11215 I Corona  :      ?: in function '?'
08-09 19:41:31.858 11188 11215 I Corona  :      ?: in function <?:205>
08-09 19:41:31.876 11188 11215 I Corona  : WARNING: Failed to find image 'widget
_theme_android_holo_dark.png'
08-09 19:41:31.876 11188 11215 I Corona  : ERROR: display.newImageRect() bad arg
ument #2: filename or image sheet expected, but got nil
 
I expect it can't find some images from widget library. So my textfields look appear without background, and there are some other problems with widget's appearance. Can anyone help to solve this problem? When I make a buid using Corona Simulator, there are no errors and everything works fine. Thanks.
 
 



[topic_controls]
[/topic_controls]