LAMW: Lazarus Android Tools Expert (LATE) lazarus / 43-Android ---------------------------------------------------------------------- Handoko · 2016-07-19 14:44 LAMW is always full of surprise to me, lots of things to explore and play with. Today I found Lazarus Android Tools Expert alias LATE. The name is cool To find it: On Lazarus main menu > Tools > [Lamw] Android Module Wizard > LATE: Apk Expert Tools [Build, Instal, ...] My question: Is this tool finished? If yes, then I'm going report that LATE doesn't work correctly on Linux. I use Ubuntu Mate 15.10 64-bit + Lazarus 1.6 FPC 3.0.0 + LAMW 0.7 rev 426. My phone is Android 5.0 Intel 64-bit device. My computer is cross-compiled properly to build Android apks for both i386 and ARMv7A targets. I'm sure because I have tested the results, they work correctly. I don't have ARM device but simple test program is running correctly tested using adb install on ARM Android Virtual Devices. No problem so far if I compile the code manually and build the apk using build-debug.sh script. But if I use LATE, the result was different. Some seconds after I pressed the "Build Android Apk" button on LATE, I got the message "BUILD SUCCESSFUL". But if I check the libs folder, nothing was produced. My guess is LATE fails to properly configure settings on Linux. I now am able to produce Android i386, ARMv7A, even fat binary apks (https://en.wikipedia.org/wiki/Fat_binary), so I share my settings hope it can help to fix this issue. 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 To make switching settings easier, I use Build Modes.Installed NDK: 11cMin SDK: 15Target SDK: 19NDK Platform: 21My home folder: /home/handokoAndroid folder: /home/handoko/AndroidAndroid NDK folder: /home/handoko/Android/android-ndk-r11cAndroid SDK folder: /home/handoko/Android/android-sdk-linuxLAMW instalation folder: /home/handoko/Android/lazandroidmodulewizard.gitNDK symlink : /home/handoko/Android/sdkSDK symlink: /home/handoko/Android/ndkLAMW symlink: /home/handoko/Android/lazandroidmodulewizard My setting for Android ARMv7A: 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 Libraries (-Fl): /home/handoko/Android/ndk/platforms/android-21/arch- arm/usr/lib/Target file name (-o): ../libs/armeabi/libcontrolsTarget OS (-T): AndroidTarget CPU family (-P): armCustom Options: -Xd -CfSoft -CpARMV7A -XParm-linux-androideabi- -FD/home/handoko/Android/ndk/toolchains/arm-linux- androideabi-4.6/prebuilt/linux-x86/bin My setting for Android i386: 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 Libraries (-Fl): /home/handoko/Android/ndk/platforms/android-21/arch-x86/usr/lib/Target file name (-o): ../libs/x86/libcontrolsTarget OS (-T): AndroidTarget CPU family (-P): i386Custom Options: -Xd -XPi686-linux-android- -FD/ho me/handoko/Android/ndk/toolchains/x86-4.9/prebuilt/linux-x86_64/bin It will be glad to see LATE is working correctly on Linux. And hope this info I share can be useful. ---------------------------------------------------------------------- jmpessoa · 2016-07-19 15:12 Hello Handoko! Yes, the LATE need some fixes! I will do apply yours suggestions! Thank you!