Forum > Android
It feels like a big leaky boat. Question 3
(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 3
a) When I compile successfully and execute “[LAMW] Build Android Apk and Run”
b) I get the error shown below (how to deal with it, how to solve this problem)
c) How can I use it with the Android Studio emulator, or other emulators as well?
Starting APK (Gradle)...
Executable:
C:\gradle-8.6\bin\gradle.bat
CurrentDirectory:
C:\lazarus\projects\LAMWProjects\AppLAMWProject11\
Environment Overrides:
GRADLE_HOME=C:\gradle-8.6\
PATH=C:\Program Files\Eclipse Adoptium\jdk-21.0.2.13-hotspot\bin;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files\AdoptOpenJDK\jdk-8.0.242.08-hotspot\bin;C:\Program Files (x86)\Embarcadero\Studio\22.0\bin;C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl;C:\Program Files (x86)\Embarcadero\Studio\22.0\bin64;C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\Win64;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Go\bin;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\PostgreSQL\16\bin;C:\Program Files\PostgreSQL\16\pgAdmin 4\runtime;C:\Users\001\AppData\Local\Microsoft\WindowsApps;C:\Users\001\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\001\go\bin;C:\Users\001\AppData\Roaming\Programs\Zero Install;C:\Users\001\AppData\Local\Android\Sdk\platform-tools;C:\gradle-8.6\bin
Parameters:
run
Command Line:
C:\gradle-8.6\bin\gradle.bat run
Parsers: gradle
ProcessID:
93388
ExitCode:
1
ExitStatus:
1
Error: FAILURE: Build failed with an exception.
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