It feels like a big leaky boat. Question 7 lazarus / 43-Android ---------------------------------------------------------------------- gary · 2024-12-21 04:45 My Environment : windows 11 Lazarus 3.0 (rev f771d54e) FPC 3.2.2 x86_64-win64-win32/win64 LAMW 0.8.6.4 JDK-21 apache-ant-1.10.14 gradle-8.6 android-ndk-r27c-windows Android SDK Platform-Tools 35.0.2 Android SDK Build-Tools 36-rc3 Android 14.0 ("UpsideDownCake") Question 7    a) As shown in the figure below, if I change any other Chipset except ARMv7a+VFPv3, it will give me an error.    b) How can I solve this problem It's a continuous and connected problem 1、Compilation error https://forum.lazarus.freepascal.org/index.php/topic,69647.0.html 2、Invalid library address https://forum.lazarus.freepascal.org/index.php/topic,69648.0.html 3、“[LAMW]Build Android Apk and Run” failure https://forum.lazarus.freepascal.org/index.php/topic,69649.0.html 4、Build Release Signed Apk Failed https://forum.lazarus.freepascal.org/index.php/topic,69650.0.html 5、NDK Prebuild prompt not found https://forum.lazarus.freepascal.org/index.php/topic,69651.0.html 6、arm-linux-androideabi-as.exe not found https://forum.lazarus.freepascal.org/index.php/topic,69652.0.html 7. Change Chipset failed https://forum.lazarus.freepascal.org/index.php/topic,69653.0.html I feel lamw is like an aircraft carrier, powerful, but a bit leaky for a newbie, and there are a bit many leaks. Please give me guidance from the gods as well, thank you very much! ---------------------------------------------------------------------- jcmontherock · 2024-12-21 21:37 Really Lazarus 3.0 ?... ---------------------------------------------------------------------- gary · 2024-12-22 07:00 Quote from: jcmontherock on December 21, 2024, 10:37:27 pmReally Lazarus 3.0 ?... Yes, my dear friend. ---------------------------------------------------------------------- gary · 2024-12-22 07:03 The code for this question is here, know if I'm guessing right. It may be this code that is causing me this problem procedure TFormSettingsPaths.ComboBoxPrebuildChange(Sender: TObject); var  pathToNdkToolchains49: string;  saveContent: string; begin   if EditPathToAndroidNDK.Text = '' then   begin     ShowMessage('Please, Enter "Path To Android NDK..."');     Exit;   end;   saveContent:= FPrebuildOSYS;   pathToNdkToolchains49:= EditPathToAndroidNDK.Text+DirectorySeparator +'toolchains'+DirectorySeparator+                                                 'arm-linux- androideabi-4.9'+DirectorySeparator+                                                 'prebuilt'+DirectorySeparator;   if not DirectoryExists(pathToNdkToolchains49 + ComboBoxPrebuild.Text) then   begin      ShowMessage('Sorry... Path To Ndk Toolchains "'+ ComboBoxPrebuild.Text + '" Not Found!');      ComboBoxPrebuild.Text:= saveContent;   end   else      Self.FPrebuildOSYS:= ComboBoxPrebuild.Text; end; ---------------------------------------------------------------------- Mongkey · 2024-12-28 22:55 Lower your NDK ex:22, on higher ndk your need to copy some build tools from lower NDK, i dont remember exactly, like llvm was throw away on higher NDK, build on android studio, all your problems instantly gone. ---------------------------------------------------------------------- gary · 2024-12-31 15:54 Quote from: Mongkey on December 28, 2024, 11:55:21 pmLower your NDK ex:22, on higher ndk your need to copy some build tools from lower NDK, i dont remember exactly, like llvm was throw away on higher NDK, build on android studio, all your problems instantly gone. Thank you very much for your help, I have solved it a few days ago and rewrote a posting to make it easier for people who come after me to use lamw. but at the moment I have a new problem with debugging, such as adding breakpoints, and how to debug it which I don't quite understand yet. If you know it and would like to share it, I would be very grateful and will rewrite a debugging post to make it easier for later people to get started!