Forum > Android

It feels like a big leaky boat. Question 6

(1/1)

gary:
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 6
   a) Sometimes the project still gets the error shown below, and there is no solution for it
   b) Of course, if I use the changed gradle-local-apksigner.bat file and execute it, it still builds the Release Signed Apk successfully (why is this happening and how to deal with it)



Compile Project, OS: android, CPU: arm, Target: C:\Users\001\Desktop\App\libs\armeabi-v7a\libcontrols.so

Compile Reason: Last compile was incomplete.
  State file=C:\Users\001\Desktop\App\obj\controls\controls.compiled


Executable:
C:\lazarus\fpc\bin\x86_64-win64\fpc.exe

CurrentDirectory:
C:\Users\001\Desktop\App\jni\

Parameters:
-Tandroid
-Parm
-MDelphi
-Scghim
-CX
-Os3
-Xs
-XX
-l
-vewnhibq
-FlC:\android-ndk-r27c-windows\android-ndk-r27c\toolchains\llvm\prebuilt\windows\sysroot\usr\lib\arm-linux-androideabi\22
-FlC:\android-ndk-r27c-windows\android-ndk-r27c\toolchains\arm-linux-androideabi-4.9\prebuilt\windows\lib\gcc\arm-linux-androideabi\4.9.x
-FuC:\Users\001\Desktop\App\obj\controls
-FuC:\lazarus\ccr\lamw\android_bridges\lib\arm-android
-FuC:\lazarus\lazarus\lcl\units\arm-android
-FuC:\lazarus\lazarus\components\freetype\lib\arm-android
-FuC:\lazarus\lazarus\components\lazutils\lib\arm-android
-FuC:\lazarus\lazarus\packager\units\arm-android
-FuC:\Users\001\Desktop\App\jni\
-FUC:\Users\001\Desktop\App\obj\controls\
-FEC:\Users\001\Desktop\App\libs\armeabi-v7a\
-oC:\Users\001\Desktop\App\libs\armeabi-v7a\libcontrols.so
-Xd
-CfVFPv3
-CpARMV7A
-XParm-linux-androideabi-
-FDC:\android-ndk-r27c-windows\android-ndk-r27c\toolchains\arm-linux-androideabi-4.9\prebuilt\windows\bin
controls.lpr

Command Line:
C:\lazarus\fpc\bin\x86_64-win64\fpc.exe -Tandroid -Parm -MDelphi -Scghim -CX -Os3 -Xs -XX -l -vewnhibq -FlC:\android-ndk-r27c-windows\android-ndk-r27c\toolchains\llvm\prebuilt\windows\sysroot\usr\lib\arm-linux-androideabi\22 -FlC:\android-ndk-r27c-windows\android-ndk-r27c\toolchains\arm-linux-androideabi-4.9\prebuilt\windows\lib\gcc\arm-linux-androideabi\4.9.x -FuC:\Users\001\Desktop\App\obj\controls -FuC:\lazarus\ccr\lamw\android_bridges\lib\arm-android -FuC:\lazarus\lazarus\lcl\units\arm-android -FuC:\lazarus\lazarus\components\freetype\lib\arm-android -FuC:\lazarus\lazarus\components\lazutils\lib\arm-android -FuC:\lazarus\lazarus\packager\units\arm-android -FuC:\Users\001\Desktop\App\jni\ -FUC:\Users\001\Desktop\App\obj\controls\ -FEC:\Users\001\Desktop\App\libs\armeabi-v7a\ -oC:\Users\001\Desktop\App\libs\armeabi-v7a\libcontrols.so -Xd -CfVFPv3 -CpARMV7A -XParm-linux-androideabi- -FDC:\android-ndk-r27c-windows\android-ndk-r27c\toolchains\arm-linux-androideabi-4.9\prebuilt\windows\bin controls.lpr

Parsers: make, FPC

ProcessID:
89960

ExitCode:
1
ExitStatus:
1

Error: Exit code 1


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!

Navigation

[0] Message Index

Go to full version