Recent

Author Topic: LAMW(Solved) - checkDebugDuplicateClasses  (Read 1205 times)

marcos-ebm

  • Jr. Member
  • **
  • Posts: 51
LAMW(Solved) - checkDebugDuplicateClasses
« on: January 19, 2024, 10:49:33 pm »
[Using the translator]

Hello everyone, does anyone here have the same problem?
When placing the jBarcodeGen and ZXingBarcodeScan components in the form, a lot of errors appear 'checkDebugDuplicateClasses' (image below)


The solution I found was to comment a line in build.gradle (image below), but I think it's not the right way, as other components may need it

Code: Pascal  [Select][+][-]
  1. dependencies {
  2.     //implementation  fileTree(include: ['*.jar'], dir: 'libs')
« Last Edit: February 03, 2024, 12:55:40 am by marcos-ebm »
Lazarus 3.0 / LAMW 0.8.6.4 - Gradle 8.5 - Jdk 21 - Ndk 21e - Windows 11

jmpessoa

  • Hero Member
  • *****
  • Posts: 2330
Re: LAMW - checkDebugDuplicateClasses
« Reply #1 on: January 19, 2024, 11:34:24 pm »
Hello, Marcos!

Try each component separately..... and let me know if it works.....

(the fact is that both components use the same libraries with different versions...)
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

marcos-ebm

  • Jr. Member
  • **
  • Posts: 51
Re: LAMW - checkDebugDuplicateClasses
« Reply #2 on: January 19, 2024, 11:45:46 pm »
Hello, Marcos!

Try each component separately..... and let me know if it works.....

(the fact is that both components use the same libraries with different versions...)

yes, they work separately
Lazarus 3.0 / LAMW 0.8.6.4 - Gradle 8.5 - Jdk 21 - Ndk 21e - Windows 11

jmpessoa

  • Hero Member
  • *****
  • Posts: 2330
Re: LAMW - checkDebugDuplicateClasses
« Reply #3 on: January 28, 2024, 09:14:34 pm »

Fixed!

Thank you!
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

 

TinyPortal © 2005-2018