[Lazarus] laz4android error...

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Lazarus] laz4android error...

Free Pascal - Lazarus mailing list
Hi team!

I have some errors to build my APK. I use LAMW. Can I help me?

[javac] D:\App\Mio\src\org\lamw\mio\android-17\App.java:75: error:
method jAppOnCreate in class Controls cannot be applied to given types;
     [javac]       controls.jAppOnCreate(this, controls.appLayout);
     [javac]               ^
     [javac]   required: Context,RelativeLayout,Intent
     [javac]   found: App,RelativeLayout
     [javac]   reason: actual and formal argument lists differ in length
     [javac] D:\App\Mio\src\org\lamw\mio\android-17\App.java:80: error:
method jAppOnNewIntent in class Controls cannot be applied to given types;
     [javac]     protected void onNewIntent(Intent intent)
{super.onNewIntent(intent); controls.jAppOnNewIntent();}
[javac] ^
     [javac]   required: Intent
     [javac]   found: no arguments
     [javac]   reason: actual and formal argument lists differ in length

     [javac] 2 errors
     [javac] 3 warnings

Thank you!
--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Lazarus] laz4android error...

Free Pascal - Lazarus mailing list


Fixed!


Thank you!


From: Lazarus <[hidden email]> on behalf of Liyuan García Caballero via Lazarus <[hidden email]>
Sent: Wednesday, March 29, 2017 12:03:01 PM
To: Lazarus mailing list
Cc: Liyuan García Caballero
Subject: [Lazarus] laz4android error...
 
Hi team!

I have some errors to build my APK. I use LAMW. Can I help me?

[javac] D:\App\Mio\src\org\lamw\mio\android-17\App.java:75: error:
method jAppOnCreate in class Controls cannot be applied to given types;
     [javac]       controls.jAppOnCreate(this, controls.appLayout);
     [javac]               ^
     [javac]   required: Context,RelativeLayout,Intent
     [javac]   found: App,RelativeLayout
     [javac]   reason: actual and formal argument lists differ in length
     [javac] D:\App\Mio\src\org\lamw\mio\android-17\App.java:80: error:
method jAppOnNewIntent in class Controls cannot be applied to given types;
     [javac]     protected void onNewIntent(Intent intent)
{super.onNewIntent(intent); controls.jAppOnNewIntent();}
[javac] ^
     [javac]   required: Intent
     [javac]   found: no arguments
     [javac]   reason: actual and formal argument lists differ in length

     [javac] 2 errors
     [javac] 3 warnings

Thank you!
--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus

--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus
Loading...