#615·dex2jar

dex2jar: use classes as android library?

Author: mhous33Created Apr 15, 2024Updated Apr 16, 2024

I am trying to rebuild an apk in android studio that I decompiled with jadx. The apk depends on a deprecated version of the koin dependency injection framework. I have tried adding current koin dependencies to my build.gradle, but it does not resolve the dependencies. I have also tried adding the koin java source to the project, but the source does not compile. So I had the idea to use dex2jar to get the koin class files and build a standalone jar to add to my project. I think I have done this correctly, as the koin import statements are satisified, however, when I try to build the apk, android studio throws the error: "error: cannot find symbol" referring to one of the classes in the koin jar library. Any ideas as to why this is not working?