I’m using corona latest version - 2014.2445(windows)
But My app is working well on simulator but not on device(android).
this is my code piece. I’m not sure what’s wrong in line 321.
local tOption = {
left = 10,
top = 30,
width = display.contentWidth - 20,
height = display.contentHeight / 24 * 23 - 50,
maskFile = “images/mask-320x448.png”,
onRowRender = onRowRender,
onRowTouch = onRowTouch,
}
list = widget.newTableView(tOption) — line 321
I got error message from adb log
I/Corona (12587): Runtime error
I/Corona (12587): /Users/jenkins/slaveroot/workspace/Templates/label/android/subrepos/widget/widgetLibrary/widget_tableview.lua:1696: attempt to index field ‘colours’ (a nil value)
I/Corona (12587): stack traceback:
I/Corona (12587): /Users/jenkins/slaveroot/workspace/Templates/label/android/subrepos/widget/widgetLibrary/widget_tableview.lua:1696: in function </Users/jenkins/slaveroot/workspace/Templates/label/android/subrepos/widget/widgetLibrary/widget_tableview.lua:1667>
I/Corona (12587): (tail call): ?
I/Corona (12587): /Users/jenkins/slaveroot/workspace/Templates/label/android/subrepos/widget/widgetLibrary/widget.lua:135: in function </Users/jenkins/slaveroot/workspace/Templates/label/android/subrepos/widget/widgetLibrary/widget.lua:122>
I/Corona (12587): (tail call): ?
I/Corona (12587): F:\Work\Archive\calendarDetail.lua:321: in function ‘method’
I/Corona (12587): /Users/jenkins/slaveroot/workspace/Templates/label/android/platform/resources/init.lua:253: in function ‘dispatchEvent’
I/Corona (12587): /Users/jenkins/slaveroot/workspace/Templates/label/android/subrepos/composer/composer.lua:1437: in funct