Hello,
long time i used the Codexxx.class from this thread, (wich is using the additional core3.2.1-library) to create my Code128 manually by typing the number and the ClassModule generates the Label, because i had no labels to scan available.
Now, sometimes it is possible to use a scanner to scan a label and get the number for Code128, wich will be stored in a database.
So i decidet to use this ZXingLibrary V1.06 to have the option to scan labels also.
My Problem is:
I can not use both (Library and Class-Module) in the same Project, because while compiling, i get the error, that the BarcodeFormat is defined multiple times
Error in C:\Android\tools\..\extras\b4a_local\unpacked-jhsicezxing1-63663735648000\dex_v1\jhsicezxing1.zip:classes.dex:
Type com.google.zxing.BarcodeFormat is defined multiple times: C:\Android\tools\..\extras\b4a_local\unpacked-jhsicezxing1-63663735648000\dex_v1\jhsicezxing1.zip:classes.dex, C:\Android\tools\..\extras\b4a_local\unpacked-core-3.2.1-63583023310000\dex_v1\core-3.2.1.zip:classes.dex
Compilation failed
Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: C:\Android\tools\..\extras\b4a_local\unpacked-jhsicezxing1-63663735648000\dex_v1\jhsicezxing1.zip:classes.dex
Caused by: com.android.tools.r8.internal.f: Type com.google.zxing.BarcodeFormat is defined multiple times: C:\Android\tools\..\extras\b4a_local\unpacked-jhsicezxing1-63663735648000\dex_v1\jhsicezxing1.zip:classes.dex, C:\Android\tools\..\extras\b4a_local\unpacked-core-3.2.1-63583023310000\dex_v1\core-3.2.1.zip:classes.dex
My Question:
If i have no label to scan, and have to manually save the number of the code128 in my database, can i use somehow the ZXing-Library also, to create a label for me?
Because than i can get rid of the ClassModule wich did this before.
I found only threads to scan labels with this Library, but none to create a code128-label
Maybe someone can help me with this problem.
Thanks
long time i used the Codexxx.class from this thread, (wich is using the additional core3.2.1-library) to create my Code128 manually by typing the number and the ClassModule generates the Label, because i had no labels to scan available.
Now, sometimes it is possible to use a scanner to scan a label and get the number for Code128, wich will be stored in a database.
So i decidet to use this ZXingLibrary V1.06 to have the option to scan labels also.
My Problem is:
I can not use both (Library and Class-Module) in the same Project, because while compiling, i get the error, that the BarcodeFormat is defined multiple times
Error in C:\Android\tools\..\extras\b4a_local\unpacked-jhsicezxing1-63663735648000\dex_v1\jhsicezxing1.zip:classes.dex:
Type com.google.zxing.BarcodeFormat is defined multiple times: C:\Android\tools\..\extras\b4a_local\unpacked-jhsicezxing1-63663735648000\dex_v1\jhsicezxing1.zip:classes.dex, C:\Android\tools\..\extras\b4a_local\unpacked-core-3.2.1-63583023310000\dex_v1\core-3.2.1.zip:classes.dex
Compilation failed
Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: C:\Android\tools\..\extras\b4a_local\unpacked-jhsicezxing1-63663735648000\dex_v1\jhsicezxing1.zip:classes.dex
Caused by: com.android.tools.r8.internal.f: Type com.google.zxing.BarcodeFormat is defined multiple times: C:\Android\tools\..\extras\b4a_local\unpacked-jhsicezxing1-63663735648000\dex_v1\jhsicezxing1.zip:classes.dex, C:\Android\tools\..\extras\b4a_local\unpacked-core-3.2.1-63583023310000\dex_v1\core-3.2.1.zip:classes.dex
My Question:
If i have no label to scan, and have to manually save the number of the code128 in my database, can i use somehow the ZXing-Library also, to create a label for me?
Because than i can get rid of the ClassModule wich did this before.
I found only threads to scan labels with this Library, but none to create a code128-label
Maybe someone can help me with this problem.
Thanks