Forum > Android

LAMW Build Error - Windows

(1/2) > >>

bsod:
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
 

jmpessoa:

Hi, bsod!

don't run "before_build.bat"  and "after_build.bat"  by hand.....

Try compile and build apk using Lazarus/LAMW menu....

bsod:
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.

jmpessoa:

Can you put  here the "LAMW.ini"  from "laz4android2.2.2/config"?

bsod:
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

Navigation

[0] Message Index

[#] Next page

Go to full version