Recent

Author Topic: Exception, Errors: 1  (Read 3331 times)

ferro

  • Newbie
  • Posts: 1
Exception, Errors: 1
« on: February 02, 2018, 03:50:30 am »
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  [Select][+][-]
  1. {Hint: save all files to location: C:\lazarus\ANDROID PROJECT\LamwGUIProject1\jni }
  2. unit unit1;
  3.  
  4. {$mode delphi}
  5.  
  6. interface
  7.  
  8. uses
  9.   Classes, SysUtils, AndroidWidget, Laz_And_Controls;
  10.  
  11. type
  12.  
  13.   { TAndroidModule1 }
  14.  
  15.   TAndroidModule1 = class(jForm)
  16.     jButton1: jButton;
  17.     procedure jButton1Click(Sender: TObject);
  18.   private
  19.     {private declarations}
  20.   public
  21.     {public declarations}
  22.   end;
  23.  
  24. var
  25.   AndroidModule1: TAndroidModule1;
  26.  
  27. implementation
  28.  
  29. {$R *.lfm}
  30.  
  31.  
  32. { TAndroidModule1 }
  33.  
  34. procedure TAndroidModule1.jButton1Click(Sender: TObject);
  35. begin
  36.   ShowMessage('hello world');
  37. end;
  38.  
  39. end.              

 

TinyPortal © 2005-2018