I’m currently working on an android/ios plugin which relies on androidX, so I activated it using UPL, but since UnrealEngine version 4.25 there are 2 new imports in the GameActivity from support libraries v4 and gradle gives me an error, that those two imports couldn’t be found. Does anyone have an idea on how to replace those two imports with the androidX pendants? I don’t want to manually change the imports after packaging in UnrealEngine because this is for a plugin… I already tried the command in UPL but it seems, that it can only be used for the current context and not the whole GameActivity.java file…
I hope you can help me to achieve androidX support for UnrealEngine!
How did you manage to resolve other dependencies in GameActivity.java? Like android permissions plugin or obb-downloader activity? It’s not just imports. I don’t want to make changes in engine as well.
I fixed them by adding a Plugin-Level “ThirdParty”-folder, which contains all files, who are causing issues, with androidX libraries. They can simply replaced in the build process like this: