# Packing Android package . something wrong

**URL:** <https://forums.unrealengine.com/t/packing-android-package-something-wrong/413030>\
**Category:** Mobile\
**Tags:** Android-Packaging, unreal-engine, question\
**Created:** [December 24, 2017, 2:56am UTC](https://forums.unrealengine.com/t/packing-android-package-something-wrong/413030 "2017-12-24T02:56:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anonymous\_d3bb7c9126ffd45727f6fc4d37af6616](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anonymous\_d3bb7c9126ffd45727f6fc4d37af6616](https://forums.unrealengine.com/u/Anonymous_d3bb7c9126ffd45727f6fc4d37af6616)\
**Post date:** [December 24, 2017, 2:56am UTC](https://forums.unrealengine.com/t/packing-android-package-something-wrong/413030/1 "2017-12-24T02:56:30Z")

</div>

LogPlayLevel: Observed package id ‘build-tools;25.0.3’ in inconsistent location ‘C:\NVPACK\android-sdk-windows\build-tools\android-7.1.1’ (Expected ‘C:\NVPACK\android-sdk-windows\build-tools\25.0.3’)  
LogPlayLevel: Observed package id ‘build-tools;25.0.3’ in inconsistent location ‘C:\NVPACK\android-sdk-windows\build-tools\android-7.1.1’ (Expected ‘C:\NVPACK\android-sdk-windows\build-tools\25.0.3’)  
LogPlayLevel: Incremental java compilation is an incubating feature.  
LogPlayLevel: Observed package id ‘build-tools;25.0.3’ in inconsistent location ‘C:\NVPACK\android-sdk-windows\build-tools\android-7.1.1’ (Expected ‘C:\NVPACK\android-sdk-windows\build-tools\25.0.3’)  
LogPlayLevel: File C:\Users\76928.android\repositories.cfg could not be loaded.  
LogPlayLevel: FAILURE: Build failed with an exception.  
LogPlayLevel: \* What went wrong:  
LogPlayLevel: A problem occurred configuring project ‘:app’.  
LogPlayLevel: \> Could not resolve all dependencies for configuration ‘:app:\_debugApk’.  
LogPlayLevel: \> A problem occurred configuring project ‘:permission\_library’.  
LogPlayLevel: \> You have not accepted the license agreements of the following SDK components:  
LogPlayLevel: [Android Support Repository].  
LogPlayLevel: Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.  
LogPlayLevel: Alternatively, to learn how to transfer the license agreements from one workstation to another, go to [Sign in - Google Accounts](http://d.android.com/r/studio-ui/export-licenses.html)  
LogPlayLevel: \* Try:  
LogPlayLevel: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.  
LogPlayLevel: BUILD FAILED  
LogPlayLevel: Total time: 11 mins 57.425 secs  
LogPlayLevel: ERROR: cmd.exe failed with args /c “E:\Projects\UE4\_Game\SunTeple\Intermediate/Android/APK\gradle\rungradle.bat” :app:assembleDebug  
LogPlayLevel: (see C:\Users\76928\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE\_4.18\UAT\_Log.txt for full exception trace)  
LogPlayLevel: AutomationTool exiting with ExitCode=1 (Error\_Unknown)  
LogPlayLevel: Completed Launch On Stage: Deploy Task, Time: 737.761651  
LogPlayLevel: BUILD FAILED

---

<div class="post-metadata">

**Author:** ![lumberjackprince](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lumberjackprince](https://forums.unrealengine.com/u/lumberjackprince)\
**Post date:** [March 24, 2018, 5:41am UTC](https://forums.unrealengine.com/t/packing-android-package-something-wrong/413030/2 "2018-03-24T05:41:20Z")

</div>

This happened to me, despite hitting the “Accept Licenses” in the “Android” section of the build settings, you need to accept more. I found [Packing Android package . something wrong - Mobile - Epic Developer Community Forums](https://answers.unrealengine.com/questions/739672/packing-android-package-something-wrong.html?sort=oldest) had and answer from dixfn7m:

> write on the command line: android  
> update sdk --no-ui --filter  
> build-tools-25.0.0,android-25,extra-android-m2repository
> 
> then press y

It took a loooooong time to run and download more android junk, but it worked.

---

<div class="post-metadata">

**Author:** ![Dipesh1510](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dipesh1510](https://forums.unrealengine.com/u/Dipesh1510)\
**Post date:** [April 13, 2021, 12:37pm UTC](https://forums.unrealengine.com/t/packing-android-package-something-wrong/413030/3 "2021-04-13T12:37:07Z")

</div>

I’m using 4.25 and I’m getting the same error . Will this work in 4.25 ?
