Forum > Android

LAWM - Gradle Panic error

<< < (2/5) > >>

iru:
The only choice was Gradle.

Ian

marcos-ebm:
The context menu is when you right click on the error, some options appear

However, it usually doesn't show where the error is

I stopped using lamw on Linux because of this, I'm using it on Windows

on windows you can use lazarus 2.2.2

iru:
Thank you for your perseverance....

Based on what you explained I right clicked on the 'Message window' error message and got the following (which gives me no new information):

Building APK (Gradle)...

Executable:
/home/iru/android/fpc-lazarus/ccr/lamw-gradle/gradle-6.8.3/bin/gradle

CurrentDirectory:
/home/iru/android/projects/AppLAMWProject4/

Environment Overrides:
GRADLE_HOME=/home/iru/android/fpc-lazarus/ccr/lamw-gradle/gradle-6.8.3/
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/iru/android/sdk/platform-tools:/home/iru/android/fpc-lazarus/ccr/lamw-gradle/gradle-6.8.3/bin

Parameters:
clean
build
--info

Command Line:
/home/iru/android/fpc-lazarus/ccr/lamw-gradle/gradle-6.8.3/bin/gradle clean build --info

Parsers: gradle

ProcessID:
112539

ExitCode:
1
ExitStatus:
256

Error: Exit code 1

marcos-ebm:
the problem may be in the version of gradle, jdk, sdk you are using

see the first image I showed, and use the same version as me

SDK 21
NDK 21e
JDK 21
GRADLE 8.5

create a folder called ANDROID and throw all these new versions into it and test it

[I'm translating directly from my language, sorry for any mistakes]

marcos-ebm:
This was the step by step of how I did it

1 - I installed laz4android2.2.2 (windows only) and installed it in c:
2 - I downloaded lamw, unzipped it into the COMPONENT folder
3 - I installed the bridge LPK, wizard and ide_tools
4 - I downloaded NDK 21e, SDK 21, JDK 21, GRADLE 8.5, ANT and threw it into the C:\android folder

One detail is that, when clicking on the NDK21e folder (for example) you already have to go directly to the files, there cannot be a folder in the path (I've had problems with this)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version