LAMW Demo AppJCenterZXingBarcodeScanDemo1 not running on device lazarus / 43-Android ---------------------------------------------------------------------- af0815 · 2024-02-09 16:03 Hello, is the demo AppJCenterZXingBarcodeScanDemo1 of LAMW possible to run on a device ? I have a newer device and the App crash if i press the QRScan button and is closed by Android. So my first question is - is the Demo running ? I am using Lazarus 3.0 and fpc 3.2.2 (jdk 21.0.2, gradle-8.5 ndk 21.4.7075529) and some other demos are running on the device without a problem. ---------------------------------------------------------------------- marcos-ebm · 2024-02-09 16:50 [using the translator] Go to the build.gradle file and leave the code below the same and test line 77 Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i implementation ('com.journeyapps:zxing-android-embedded:4.3.0') //{ transitive = false } ---------------------------------------------------------------------- marcos-ebm · 2024-02-09 16:57 Quote from: af0815 on February 09, 2024, 05:03:11 pm I am using Lazarus 3.0 and fpc 3.2.2 (jdk 21.0.2, gradle-8.5 ndk 21.4.7075529) and some other demos are running on the device without a problem. How did you install lamw on Lazarus 3.0? ---------------------------------------------------------------------- af0815 · 2024-02-09 19:47 Quote from: marcos-ebm on February 09, 2024, 05:57:09 pmQuote from: af0815 on February 09, 2024, 05:03:11 pm I am using Lazarus 3.0 and fpc 3.2.2 (jdk 21.0.2, gradle-8.5 ndk 21.4.7075529) and some other demos are running on the device without a problem. How did you install lamw on Lazarus 3.0? fpcupdeluxe and the docs from LAMW. (only the sdk is from a lamw_manager install, because there is java version mismatch in the new commandline-tools)