# Does UE 4.26.2 work with Android Studio 4.2?

**URL:** <https://forums.unrealengine.com/t/does-ue-4-26-2-work-with-android-studio-4-2/228760>\
**Category:** Mobile\
**Tags:** unreal-engine, Android\
**Created:** [May 11, 2021, 9:52am UTC](https://forums.unrealengine.com/t/does-ue-4-26-2-work-with-android-studio-4-2/228760 "2021-05-11T09:52:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gpu2015](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gpu2015](https://forums.unrealengine.com/u/gpu2015)\
**Post date:** [May 11, 2021, 9:52am UTC](https://forums.unrealengine.com/t/does-ue-4-26-2-work-with-android-studio-4-2/228760/1 "2021-05-11T09:52:28Z")

</div>

(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 ?

---

<div class="post-metadata">

**Author:** ![gpu2015](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gpu2015](https://forums.unrealengine.com/u/gpu2015)\
**Post date:** [May 11, 2021, 11:13am UTC](https://forums.unrealengine.com/t/does-ue-4-26-2-work-with-android-studio-4-2/228760/2 "2021-05-11T11:13:10Z")

</div>

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
