Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicated class contained in APK #16

Open
auermich93 opened this issue Dec 8, 2023 · 0 comments
Open

Duplicated class contained in APK #16

auermich93 opened this issue Dec 8, 2023 · 0 comments

Comments

@auermich93
Copy link

Reading the following APK https://github.com/the-themis-benchmarks/home/blob/master/open-event-attendee-android/open-event-attendee-android-0.5-%232198.apk with multidexlib2 leads to the following exception:

Exception in thread "main" lanchon.multidexlib2.DuplicateTypeException: L$r8$java8methods$utility$Long$hashCode$IJ;
        at lanchon.multidexlib2.MultiDexContainerBackedDexFile.<init>(MultiDexContainerBackedDexFile.java:42)
        at lanchon.multidexlib2.MultiDexIO.readDexFile(MultiDexIO.java:34)
        at de.uni_passau.fim.auermich.android_analysis.Main.main(Main.java:91)

The APK contains twice the class L$r8$java8methods$utility$Long$hashCode$IJ; in two different smali folders. I could resolve the issue by simply removing one of them, but shouldn't multidexlib2 maybe simply ignore any duplicate and only drop a warning?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant