Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2017-03

laz4android error...

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Liyuan García Caballero

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!

Reply by email