Download

Does UE 4.26.2 work with Android Studio 4.2?

(I installed Android Studio 4.2 and then run D:\Epic Games\Epic Games\UE_4.26\Engine\Extras\Android\SetupAndroid.bat, return this error: “Unable to locate local Android SKD location. Did you run Android Studio after installing?”)

Android Studio 4.2 which include these settings:
SDK: Android 11.0(R), API Level 30, D:\Android\Sdk\build-tools\30.0.3
NDK: D:\Android\Sdk\ndk\22.1.7171670
JDK: D:\Android\Android Studio\jre, JAVA_VERSION=“11.0.8”
is it OK to manually set the above path or MUST use Android Studio 3.5.3 ?

1 Like

it works with Android Studio 4.2, but while I package android, come these error:
PackagingResults: Error: Unknown Cook Failure
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ERROR: Cook failed.
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00007ff8d180d721 ntdll.dll!UnknownFunction []
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): LogInit: Display: LogOutputDevice: Error: end: stack for UAT