And this is only useful if you are sure both the extensions (that are in conflict) carry same library version.
If not, removing duplicate classes wont fix any runtime errors about to appear (MethodNotFound...)
Normally ProGuarded extensions do not conflict with other extensions when you use the '-repackageclasses' rule.
You are absolutely right. But when we have information about their library version so we can target the below one to prevent the MethodNotFound error. Most of the time it helps.
Proguard does not mean that all classes can be/are obfuscated. There are many cases when some classes are required to be kept but they reference obfuscated classes as well.
If anyone tries to use this with my extensions, then good luck.
Developed By Jewel Shikder Jony. (Version: 1.0.0) (Used: 0 times)
Enter aix to keep: "C:\Users\Dell\Downloads\AIX\scanview2.aix"
Enter aix to keep: "C:\Users\Dell\Downloads\AIX"
Enter aix to keep: "C:\Users\Dell\Downloads\AIX\scanview2.aix"
Enter aix to keep: C:\Users\Dell\Downloads\AIX\scanview2.aix
Enter aix to target: C:\Users\Dell\Downloads\AIX/
Enter aix to target: C:\Users\Dell\Downloads\AIX
Enter aix to target: C:\Users\Dell\Downloads\AIX\scanview2.aix
UNEXPECTED TOP-LEVEL EXCEPTION:
java.nio.file.NoSuchFileException: C:\Users\Dell\Downloads\AIX\com.silver.scanview\files\AndroidRuntime.jar
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
at java.base/sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:53)
at java.base/sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:38)
at java.base/sun.nio.fs.WindowsFileSystemProvider.readAttributes(WindowsFileSystemProvider.java:197)
at java.base/java.nio.file.Files.readAttributes(Files.java:1853)
at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1445)
at java.base/java.util.zip.ZipFile$CleanableResource.(ZipFile.java:724)
at java.base/java.util.zip.ZipFile.(ZipFile.java:251)
at java.base/java.util.zip.ZipFile.(ZipFile.java:180)
at java.base/java.util.zip.ZipFile.(ZipFile.java:194)
at com.jewel.conflixer.repacked.ba.a(Unknown Source)
at com.jewel.conflixer.repacked.ba.f(Unknown Source)
at com.jewel.conflixer.repacked.bO.a(Unknown Source)
at com.jewel.conflixer.repacked.bO.h(Unknown Source)
at com.jewel.conflixer.repacked.bO.a(Unknown Source)
at com.jewel.conflixer.repacked.bO.main(Unknown Source)
at com.jewel.conflixer.Conflixer.main(Unknown Source)
1 error; aborting
PS C:\Windows\system32>
You have already been advised that the scanview extension has not been updated for API34. There is nothing you can do until this happens. Contact the extension developer.
I removed the extension from project also after removed it is showing the errors.
Could you please let me know how i can stop copying after scan in barcode component.
Thanks for your suggestion. Actually it's not an extension, it's a cli-tool which resolve conflicts and produce a new resolve AIX. If it's in wrong category you might move it to the Extension category or wherever you want.