Sdk R25b

0 views
Skip to first unread message

Pavido Scalf

unread,
Aug 4, 2024, 10:04:06 PM8/4/24
to llaqrirehreu
Youcan see in the image that Output Log says that it Failed to install Android SDK r25b.. but in Unreal Engine Documentaion -> Android -> Development Requirements it says that the NDK (not SDK) needs to be r25b..so I'm confused

After that I read Unreal Documentation on how to set up android SDK and NDK and I tried to run packaging and had a bunch of errors that I can't really remember. And this same error I have now was between all of the others. The errors were there because I didn't set up the SDK Tools properly.So I started following this video:


After installing and setting up all of the SDK,NDK and JDK files (In Android Studio and after in Unreal Engine) it started to pack. Even this "-noninteractive failed" error was not there.But when it cooked up everything in the end I had this error message that resulted in package failure:


But I followed setting up everything in this video, even the setting up SDK and NDK Tools (Android Studio Setup part of that video)... which was clearly a mistake because after that it didn't even register the android platform as it should (It had a triangle warning sign next to it).I've managed to get back most of the settings that made it start packing before tinkering with the SDK Tools again..the emphasys on most..


So now I am back with this error that I don't know how was fixed in the first place. And when I go to SetupAndroid.bat file in the engine root, open it with Notepad++ and search for -noninteractive in order to try and see the code for google exploring about it I get only this:


When I try and google the error I've posted here it leads me to setting up SDK's..But some of the SDK's were set up automatically when I followed the first video from Alex Pearce and I can't remember how it was set up before following the video from Nils Gallist. These are the settings that I have now in Android Studio:


I ran into the same problem and it's a little finicky because the SDK and NDK requirements change with every version of Unreal Engine. Double check -US/android-development-requirements-for-unreal-engine/ for official documentation but last time I checked it was a couple versions behind.


Step 1I am on Unreal Engine 5.2.1 and Using Android SDK 33. It is important that you have Android Studio version 4.0 downloaded (not Android Studio Giraffe or whatever the latest). From there download the right SDK and NDK versions as well as downloading cmdline-tools.


Step 4Re-open Unreal Editor and try to build again. If it still doesn't work, try downloading different versions of Android SDK Command-line Tools (look back at Step 1) and change its folder's name to latest (see Step 3)


This package will download the Google's NDK (Side by side) 25.1.8937393package and unpacks it into Debian-friendly paths.The Android Native Development Kit (NDK) is a toolset that lets you implementparts of your app using native-code languages such as C and C++. For certaintypes of apps, this can help you reuse existing code libraries written inthose languages.WARNING: Installing this Debian package causesandroid-ndk-r25b-linux.zip (530 MB) to bedownloaded from dl.google.com and/or from other suggested mirrors. The EndUser License Agreement of this binary package is available atdeveloper.android.com. Other Packages Related to google-android-ndk-r25b-installer depends recommends suggests enhances dep:ca-certificates Common CA certificates dep:debconf Debian configuration management system dep:debconf (>= 0.5) Debian configuration management system or debconf-2.0 virtual package provided by cdebconf, cdebconf-udeb, debconf dep:google-android-licenses (>= 1653078891) Google's SDK licences subfolder with licenses SHA1 sums dep:make utility for directing compilation or build-essential Informational list of build-essential packages or dpkg-dev Debian package development tools dep:po-debconf tool for managing templates file translations with gettext dep:unzip De-archiver for .zip files dep:wget retrieves files from the web Download google-android-ndk-r25b-installer Download for all available architectures ArchitecturePackage SizeInstalled SizeFiles amd6415.8 kB1,665,195.0 kB [list of files] This page is also available in the following languages (How to set the default document language):

3a8082e126
Reply all
Reply to author
Forward
0 new messages