Android Packaging issues

Hi there, I’m constantly getting gradle errors no matter which engine version I use, no matter how many SDK’s I installed, which version NDK or JDK I’m using or anything. No matter what I keep getting these gradle issues. They keep changing from corrupted SDK to the one in this image and some others.

I have clean re-installed everything 5 or so times now and wasted a week trying to figure this out. It used to package for android just fine maybe 4 weeks ago but now it wont. I don’t know if it’s something to do with Google’s version control but I’ve asked for help on discord and copied several peoples exact SDK’s/ NDK’s/ JDK versions and settings for Android Studio and Unreal Engine 4.26.2, 4.27.2 and 5.2.1.

Nothing works, I just keep getting gradle errors.

Please someone if you know anything about this please help

This particular error keeps saying some files are depreciated. I don’t see how that matters really, they still work and should be fine for a build especially if the android device is older. Why is it stopping me from packaging the game over something so non-issue like this?

have you tried deleting the .gradle folder?

I did, it didn’t work at the time. I had to go through a lot of trial and error to get this working eventually