Recent

Author Topic: LAMW Demo AppJCenterZXingBarcodeScanDemo1 not running on device  (Read 1105 times)

af0815

  • Hero Member
  • *****
  • Posts: 1409
LAMW Demo AppJCenterZXingBarcodeScanDemo1 not running on device
« on: February 09, 2024, 05:03:11 pm »
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.
regards
Andreas

marcos-ebm

  • Jr. Member
  • **
  • Posts: 51
Re: LAMW Demo AppJCenterZXingBarcodeScanDemo1 not running on device
« Reply #1 on: February 09, 2024, 05:50:47 pm »
[using the translator]

Go to the build.gradle file and leave the code below the same and test

line 77

Code: Pascal  [Select][+][-]
  1. implementation ('com.journeyapps:zxing-android-embedded:4.3.0') //{ transitive = false }
Lazarus 3.0 / LAMW 0.8.6.4 - Gradle 8.5 - Jdk 21 - Ndk 21e - Windows 11

marcos-ebm

  • Jr. Member
  • **
  • Posts: 51
Re: LAMW Demo AppJCenterZXingBarcodeScanDemo1 not running on device
« Reply #2 on: February 09, 2024, 05:57:09 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?
Lazarus 3.0 / LAMW 0.8.6.4 - Gradle 8.5 - Jdk 21 - Ndk 21e - Windows 11

af0815

  • Hero Member
  • *****
  • Posts: 1409
Re: LAMW Demo AppJCenterZXingBarcodeScanDemo1 not running on device
« Reply #3 on: February 09, 2024, 08:47:13 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)
regards
Andreas

 

TinyPortal © 2005-2018