# HELPPPP PLS UE 5.4.1  Error packaging project for Android: I do not agree with the Android SDK license

**URL:** <https://forums.unrealengine.com/t/helpppp-pls-ue-5-4-1-error-packaging-project-for-android-i-do-not-agree-with-the-android-sdk-license/1874246>\
**Category:** Mobile\
**Tags:** unreal-engine, question\
**Created:** [May 26, 2024, 6:58pm UTC](https://forums.unrealengine.com/t/helpppp-pls-ue-5-4-1-error-packaging-project-for-android-i-do-not-agree-with-the-android-sdk-license/1874246 "2024-05-26T18:58:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zxckvzr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zxckvzr](https://forums.unrealengine.com/u/zxckvzr)\
**Post date:** [May 26, 2024, 6:58pm UTC](https://forums.unrealengine.com/t/helpppp-pls-ue-5-4-1-error-packaging-project-for-android-i-do-not-agree-with-the-android-sdk-license/1874246/1 "2024-05-26T18:58:55Z")

</div>

When packaging, I get an error related to the SDK license. I agreed with all licenses, downloaded the SDK from Android Studio Flamingo 2022.2.1.20  
error:

UATHelper: Packaging (Android (ETC2)): Directory doesn’t exist C:/Users/User/AppData/Local/Android//licenses  
UATHelper: Packaging (Android (ETC2)): Android SDK license file not found. Please agree to license in Android project settings in the editor.  
UATHelper: Packaging (Android (ETC2)): (see C:\Users\User\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Unreal+UE\_5.4\Log.txt for full exception trace)  
UATHelper: Packaging (Android (ETC2)): AutomationTool executed for 0h 0m 34s  
UATHelper: Packaging (Android (ETC2)): AutomationTool exiting with ExitCode=1 (Error\_Unknown)  
UATHelper: Packaging (Android (ETC2)): BUILD FAILED  
PackagingResults: Error: Unknown Error

---

<div class="post-metadata">

**Author:** ![Bojann](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bojann/32/906560_2.png) [@Bojann](https://forums.unrealengine.com/u/Bojann)\
**Post date:** [May 26, 2024, 7:15pm UTC](https://forums.unrealengine.com/t/helpppp-pls-ue-5-4-1-error-packaging-project-for-android-i-do-not-agree-with-the-android-sdk-license/1874246/2 "2024-05-26T19:15:59Z")

</div>

> [@zxckvzr](#):
>
> Please agree to license in Android project settings in the editor.

If you are on Windows, locate your android SDK and enter `tools\bin` folder. For example

```auto
C:\path\to\android-sdk\tools\bin

```

Open it from command line, and then just type this:

```auto
sdkmanager --licenses

```

You will be prompted to accept them, or use this to accept them automatically.

```auto
echo y | sdkmanager --licenses

```
