Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
Android
»
LAMW Build Error - Windows
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Wiki, a dead link in page...
by
d7_2_laz
[
Today
at 10:53:21 pm]
MIDI commands
by
TRon
[
Today
at 10:43:22 pm]
FPSpreadSheet, ReadAsText...
by
TRon
[
Today
at 10:41:02 pm]
Record "inheritance"/stru...
by
PascalDragon
[
Today
at 10:31:25 pm]
Who catches the Linux sig...
by
LV
[
Today
at 09:47:15 pm]
FreePascal version of gcc...
by
PascalDragon
[
Today
at 09:45:02 pm]
Lazarus for Windows on aa...
by
PascalDragon
[
Today
at 09:21:38 pm]
SAVE StringGrid to PDF
by
dseligo
[
Today
at 07:42:30 pm]
Draw Transparent Fill Rec...
by
lainz
[
Today
at 06:16:21 pm]
ColorDialog can have opti...
by
Bart
[
Today
at 06:07:24 pm]
Hustle - A simple task ma...
by
BSaidus
[
Today
at 04:58:15 pm]
Notepad++ plugin with doc...
by
d7_2_laz
[
Today
at 04:07:14 pm]
TLazSerial : serial port ...
by
CM630
[
Today
at 04:05:20 pm]
Interesting article about...
by
lainz
[
Today
at 04:02:09 pm]
MainMenu: How to use the ...
by
madref
[
Today
at 03:39:05 pm]
Program running on after ...
by
MarkMLl
[
Today
at 03:23:45 pm]
had a question and found ...
by
Joanna from IRC
[
Today
at 12:02:14 pm]
Array of String lookup gi...
by
jcmontherock
[
Today
at 11:50:47 am]
The Silver Coder on YouTu...
by
silvercoder70
[
Today
at 11:49:09 am]
Api/component pack for Ra...
by
cdbc
[
Today
at 11:43:17 am]
How to know when dragging...
by
Aistis
[
Today
at 10:41:22 am]
BASS DLL
by
d2010
[
Today
at 07:47:33 am]
[Solved]Printing unicode ...
by
bobonwhidbey
[
Today
at 05:23:56 am]
How to set the desktop co...
by
Fibonacci
[
Today
at 02:42:15 am]
Common File Dialogs Have ...
by
msintle
[
Today
at 01:52:27 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: LAMW Build Error - Windows (Read 473 times)
bsod
Newbie
Posts: 6
LAMW Build Error - Windows
«
on:
November 27, 2024, 01:37:26 pm »
I followed all the steps described in the installation documentation.
But i can't compile the android project with LAMW and laz4android2.2.2.
Error message:
Projeto:Executando comando anterior
Compile Reason: State file "C:\Sistemas\Android\HelloWord\obj\controls\controls.compiled" of Project is missing.
Executable:
C:\Sistemas\Android\HelloWord\jni\before_build.bat
CurrentDirectory:
C:\Sistemas\Android\HelloWord\jni\
Parameters:
Command Line:
C:\Sistemas\Android\HelloWord\jni\before_build.bat
Parsers: Exibir todas as linhas de saída
ProcessID:
46412
ExitCode:
1
ExitStatus:
1
Erro: Código saída 1
Logged
jmpessoa
Hero Member
Posts: 2317
Re: LAMW Build Error - Windows
«
Reply #1 on:
November 27, 2024, 07:23:06 pm »
Hi, bsod!
don't run "before_build.bat" and "after_build.bat" by hand.....
Try compile and build apk using Lazarus/LAMW menu....
Logged
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard
bsod
Newbie
Posts: 6
Re: LAMW Build Error - Windows
«
Reply #2 on:
November 28, 2024, 12:24:03 am »
Hi jmpessoa,
I don't run the scripts by hand, i'm folowing the HelloWord App tutorial from documentation, and the error happen when i select Run > Build menu.
Logged
jmpessoa
Hero Member
Posts: 2317
Re: LAMW Build Error - Windows
«
Reply #3 on:
November 28, 2024, 01:32:08 am »
Can you put here the "LAMW.ini" from "laz4android2.2.2/config"?
Logged
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard
bsod
Newbie
Posts: 6
Re: LAMW Build Error - Windows
«
Reply #4 on:
November 29, 2024, 01:51:04 pm »
Hi jmpessoa,
Below the content of file:
[NewProject]
PathToSmartDesigner=c:\laz4android2.2.2\components\lazandroidmodulewizard\android_wizard\smartdesigner
PathToJavaTemplates=c:\laz4android2.2.2\components\lazandroidmodulewizard\android_wizard\smartdesigner\java
PathToAntBin=C:\Android\apache-ant-1.10.15\bin
PathToAndroidNDK=C:\Android\android-ndk-r21e
NDKRelease=21.4.7075529
NDK=5
PathToJavaJDK=C:\Program Files\Eclipse Adoptium\jdk-21.0.5.11-hotspot
PathToAndroidSDK=C:\Android\sdkJ21
PathToGradle=C:\Android\gradle-8.5
PrebuildOSYS=windows-x86_64
PathToWorkspace=C:\Sistemas\Android
InstructionSet=1
PackagePrefaceName=org.bsod
[JDKPaths]
0=C:\Program Files\Eclipse Adoptium\jdk-21.0.5.11-hotspot
[SDKPaths]
0=C:\Android\sdkJ21
[GradlePaths]
0=C:\Android\gradle-8.5
Logged
af0815
Hero Member
Posts: 1379
Re: LAMW Build Error - Windows
«
Reply #5 on:
November 29, 2024, 03:34:07 pm »
BTW: Try to avoid using of pathnames with spaces or special characters
Code: Pascal
[Select]
[+]
[-]
PathToJavaJDK
=
C
:
\
Program
Files\Eclipse Adoptium\jdk
-
21
.
0
.
5
.
11
-
hotspot
^ ^
Sometimes programms or scripts have trouble with the handling and splits the commands here.
«
Last Edit: November 29, 2024, 03:36:04 pm by af0815
»
Logged
regards
Andreas
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
Android
»
LAMW Build Error - Windows
TinyPortal
© 2005-2018