Table of contents mismatch, android sdk configuration not working, package.xml missing

Subject: table of contents mismatch, android sdk configuration not working

SDK not working/ package.xml missing:

I downloaded the android SDK and followed the instructions on 5.7 “Advanced Android SDK Setup” to the letter, did the restarts, launched SetupAndroid.bat and the window that popped up said its processes succeeded with the one discrepancy being that it didn’t prompt me to accept the SDK licensing agreement like the documentation said it would. Now when I click the platform menu in the editor and navigate to the android sub menu for quick launch, it shows options for pixel 5 or all android which implies something I did took effect because it didn’t do that before, but it still says the turnkey can’t return the sdk or something like that. When I try to configure for android in project settings>platform>android, it says something like it can’t overwrite project properties, and I couldn’t find a file with that name and don’t know what that means. When I try to press the button below to accept SDK agreement it says it can’t read package.xml with a listed file location that I checked, to see it wasn’t there.

Mismatch:

I saw that the mobile development page is different for the documentation on 5.5 and 5.7 but the table of contents look the same. I’m trying to get android sdk configured and I was accidentally referring to 5.5 when my engine is now 5.7. The thing is that the table of contents allow me to navigate from “Mobile Development” on 5.7 to the old sub directory “Creating a Mobile Project” on the 5.7 documentation, and the directory paths on resulting pages still list 5.7, even though I don’t see how you could follow the same path by clicking on the page links. The “Android Development Requirements” page lists 5.7 in the table shown sdk compatibility so I assume it should still work and be necessary to quick launch or deploy to an android phone but I am curious about those discrepancies

Update: I downloaded every single Android Studio thing I could find in the SDK manager and didn’t see the xml show up, but I saw another forum where somebody pointed out that android should be included in the engine installation and if it’s not you have to include it from the options dropdown next to the engine version in the Epic Games launcher. I did that and it looks like it made some progress and put a “package.xml” in the expected directory, and now I’m going to delete android studio and reinstall only necessary SDK components and see what happens.

It looks like this worked. For anybody else doing the same thing I followed instructions on Setting Up Unreal Engine Projects for Android Development | Unreal Engine 5.7 Documentation | Epic Developer Community. And my phone wouldn’t reconnect for quick launch until I turned the USB setting to mobile tethering and accepted the PC fingerprint again, I think. Still curious about the file mismatches though. Another quirk I saw was that the android development requirements link on “creating a mobile project” gave a 404 error but the same link from “Advanced Android SDK setup” worked fine. And there were a lot of things listed as immediate subdirectories of Getting Started with Mobile Development in Unreal Engine | Unreal Engine 5.7 Documentation | Epic Developer Community in the navigation thing on the left that I didn’t see on the page at all.

1 Like