.pAppOnScreenStyle not found in AppmenuDemo lazarus / 43-Android ---------------------------------------------------------------------- Robert Gilland · 2019-06-05 06:23 LAMW running on Jellybean Android-17 using android-ndk-r19c AppMenuDemo cannot start. E/AndroidRuntime(25932): java.lang.UnsatisfiedLinkError: Native method not found: com.example.appmenudemo.Controls.pAppOnScreenStyle:()I Any Ideas? ---------------------------------------------------------------------- jmpessoa · 2019-06-05 15:53 Goto to project folder and edit/update "AndroidManifest.xml"    change here: to ---------------------------------------------------------------------- jmpessoa · 2019-06-05 22:12 OK. I updated  LAMW  git ... Now "AndroidManifest.xml" minSdkApi   will be automatically fixed to "14" Thank you!!! ---------------------------------------------------------------------- Robert Gilland · 2019-06-05 22:20 I did what you asked and here are the results, failure continues: Code: XML  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i                                                                                             Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i  I/ActivityManager(  549): Start proc com.example.appmenudemo for activity com.example.appmenudemo/.App: pid=2181 uid=10074 gids={50074, 3002, 3001, 1006, 3003, 1028, 1015} V/WindowManager(  549): IWindow finishDrawing called for android.view.ViewRootImpl$W@42006c20 V/ActivityManager(  549): Binding process pid 2181 to record ProcessRecord{4200b3c0 2181:com.example.appmenudemo/u0a10074} V/ActivityManager(  549): New death recipient com.android.server.am.ActivityManagerService$AppDeathR ecipient@41f57620 for thread android.os.BinderProxy@41e604c0 V/ActivityManager(  549): New app record ProcessRecord{4200b3c0 2181:com.example.appmenudemo/u0a10074} thread=android.os.BinderProxy@41e604c0 pid=2181 V/ActivityManager(  549): ACT-Launching: ActivityRecord{41e12d28 u0 com.example.appmenudemo/.App} V/WindowManager(  549): Changing focus from Window{41e25450 u0 com.android.launcher/com.android.launcher2.Launcher} to null I/WindowManager(  549): Losing focus: Window{41e25450 u0 com.android.launcher/com.android.launcher2.Launcher} V/NetworkStats(  549): setKernelCounterSet uid=10074 set=1 D/ConnectivityService(  549): onUidRulesChanged(uid=10074, uidRules=0) E/AndroidRuntime( 2181): FATAL EXCEPTION: main E/AndroidRuntime( 2181): java.lang.UnsatisfiedLinkError: Native method not found: com.example.a ppmenudemo.Controls.pAppOnScreenStyle:()I E/AndroidRuntime( 2181):      at com.example.appmenudemo.Controls.pAppOnScreenStyle(Native Method) E/AndroidRuntime( 2181):        at com.example.appmenudemo.Con trols.jAppOnScreenStyle(Controls.java:1462) E/AndroidRuntime( 2181):      at com.example.appmenudemo.App.onCreate(App.java:60) E/AndroidRuntime( 2181):        at android.app.Activity.performCreate(Activity.java:5122 ) E/AndroidRuntime( 2181):        at android.app.Instrumentation.callA ctivityOnCreate(Instrumentation.java:1084) E/AndroidRuntime( 2181):      at android.app.ActivityThread.performLaunchActivity(ActivityThread .java:2307) E/AndroidRuntime( 2181):        at android.app.ActivityThr ead.handleLaunchActivity(ActivityThread.java:2395) E/AndroidRuntime( 2181):        at android.app.ActivityThread.access$600(ActivityThread. java:162) E/AndroidRuntime( 2181):        at android.app.ActivityThrea d$H.handleMessage(ActivityThread.java:1364) E/AndroidRuntime( 2181):      at android.os.Handler.dispatchMessage(Handler.java:107) E/AndroidRuntime( 2181):        at android.os.Looper.loop(Looper.java:194) E/AndroidRuntime( 2181):      at android.app.ActivityThread.main(ActivityThread.java:5371) E/Androi dRuntime( 2181):        at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 2181):        at java.lang.reflect.Method.invoke(Method.java:525) E/AndroidRuntime( 2181):        at com.android.internal.os.ZygoteInit$MethodAndArgsCalle r.run(ZygoteInit.java:833) E/AndroidRuntime( 2181):        at com.andr oid.internal.os.ZygoteInit.main(ZygoteInit.java:600) E/AndroidRuntime( 2181):        at dalvik.system.NativeStart.main(Native Method) W/ActivityManager(  549):   Force finishing activity com.example.appmenudemo/.App ---------------------------------------------------------------------- jmpessoa · 2019-06-05 23:17 Hi, Robert. Try: Close the project "Re-Open"  the  project ...  and  then: "Run-->Clean up and Build..." "Run--> [LAMW] Build ... " [note: here, the project works  for android  4.3, 5.0.2 and 6.0.1] ---------------------------------------------------------------------- Robert Gilland · 2019-06-05 23:59 Hi, I have tried everything re-installs the works nothing works I really need an example of the submenu system working. How come Online Package Manager  is out of date with LAMW? ---------------------------------------------------------------------- Robert Gilland · 2019-06-06 00:47 Okay, we have victory, downloaded latest LAMW 0.8 from Github. Managed to install it without using Online Package Manager. WORKED!