LAMW and FPCUpDeluxe and Gradle Version lazarus / 43-Android ---------------------------------------------------------------------- WayneSherman · 2022-04-30 22:48 I am testing and updating the How-To for installing LAMW on Linux using FPCUpDeluxe. Are Gradle versions >= 7 ok to use with LAMW? Here is what I know:     1. The LAMW readme says that Gradle version >= 7 is not supported. 2. The current FPCUPdeluxe release v2.2.0h and prerelease v2.2.0i both install Gradle v7.3.1. I tested both FPCUPdeluxe v2.2.0h and 2.2.0i with LAMW and Gradle v7.3.1 (with OpenJDK11, Android SDK api level 31, NDK 22b) and it works fine for my test cases.  I compiled the AppAnimationDemo1 for both 32-bit and 64-bit ARM and it compiles, builds, and runs successfully (tested on Pixel 4).  I built APKs for several of the other demos. 3. The FPCUPdeluxe master branch has a recent commit to revert Gradle back to v6.8.3 which was in response to this issue report regarding Windows:  https://github.com/LongDirtyAnimAlf/fpcupdeluxe/issues/507 ---------------------------------------------------------------------- WayneSherman · 2022-05-01 06:41 I just tested a clean install on Windows 10 using Gradle 7.3.1:   - OpenJDK 11 64-bit ( https://docs.microsoft.com/en- us/java/openjdk/download )   - Android commandlinetools-linux-8092744_latest.zip   - platforms;android-31, build-tools;31.0.0   - ndk;22.1.7171670   - FPCUPdeluxe release v2.2.0i   - fpc 3.2.2 / Lazarus 2.2.0   - gradle-7.3.1   - Latest LAMW from git Compile and build AppAnimationDemo1 for both ARMv7a + VFPv3 and Aarch64 with no errors.  Both APKs run fine on Pixel 4. For both Windows and Linux, the Android Gradle Plugin for Gradle 7 requires OpenJDK 11: https://developer.android.com/studio/releases/gradle-plugin#jdk-11 Also note the compatibility matrix here: https://developer.android.com/studio/releases/gradle- plugin#compatibility_2 ---------------------------------------------------------------------- jmpessoa · 2022-05-01 18:40 Hi, WayneSherman!  (and DonAlfred) I agree!  FPCUPdeluxe  can be one step ahead (drop-off "ant")  while the "recommended" installation will be a step behind so we can continue supporting "ant"  builder. (please, put here your tested "build.gradle") What about? Thanks to All! ---------------------------------------------------------------------- WayneSherman · 2022-05-02 14:07 Quote from: jmpessoa on May 01, 2022, 08:40:35 pm(please, put here your tested "build.gradle") I did not create that file.  When using FPCUPdeluxe, is "build.gradle" created by LAMW or FPCUPdeluxe? ---------------------------------------------------------------------- jmpessoa · 2022-05-02 16:51 Quote is "build.gradle" created by LAMW .... Yes, all new (or opened) LAMW project has a updated "build.gradle"  file...