Forum > Debugger
Exception, Errors: 1
(1/1)
ferro:
Hi.. just download lazarus for android and lamw, i try to Build Apk and run with lamw and shows me this.
Exception, Errors: 1
Fatal: [EStringListError] Failed: List index (0) out of bounds
in my project.. it is just an empty project with one button, Maybe a bug or what? Thanks
This my code
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---{Hint: save all files to location: C:\lazarus\ANDROID PROJECT\LamwGUIProject1\jni }unit unit1; {$mode delphi} interface uses Classes, SysUtils, AndroidWidget, Laz_And_Controls; type { TAndroidModule1 } TAndroidModule1 = class(jForm) jButton1: jButton; procedure jButton1Click(Sender: TObject); private {private declarations} public {public declarations} end; var AndroidModule1: TAndroidModule1; implementation {$R *.lfm} { TAndroidModule1 } procedure TAndroidModule1.jButton1Click(Sender: TObject);begin ShowMessage('hello world');end; end.
Navigation
[0] Message Index