x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Packaging Error UE 4.18.1

 ![UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): ====05-Dec-17 6:06:37 PM====PREPARING NATIVE CODE=================================================================
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): On build machine.
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Copying permission_library directory to staging before build
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Directory D:\Unreal Engine 4.18.1\UE_4.18/Engine/Source/ThirdParty/AndroidPermission/permission_library copied to C:\Users\praj4\Documents\Unreal Projects\MyProject\Intermediate/Android/APK/JavaLibs/permission_library
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): ==== Writing new GameActivity.java file to C:\Users\praj4\Documents\Unreal Projects\MyProject\Intermediate/Android/APK\src\com\epicgames\ue4\GameActivity.java ====
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Copying new .so D:\Unreal Engine 4.18.1\UE_4.18\Engine\Binaries\Android\UE4Game-armv7-es2.so file to jni folder...
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Preparing native code for debugging...
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): File D:\Unreal Engine 4.18.1\UE_4.18/Engine/Source/ThirdParty/Oculus/OVRPlugin/OVRPlugin/ExtLibs/libvrapi.so copied to C:\Users\praj4\Documents\Unreal Projects\MyProject\Intermediate/Android/APK/libs/armeabi-v7a/libvrapi.so
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Copying libOVRPlugin.so
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): File D:\Unreal Engine 4.18.1\UE_4.18/Engine/Source/ThirdParty/Oculus/OVRPlugin/OVRPlugin/Lib/armeabi-v7a/libOVRPlugin.so copied to C:\Users\praj4\Documents\Unreal Projects\MyProject\Intermediate/Android/APK/libs/armeabi-v7a/libOVRPlugin.so
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): File D:\Unreal Engine 4.18.1\UE_4.18/Engine/Source/ThirdParty/Oculus/OVRPlugin/OVRPlugin/ExtLibs/VrApi.jar copied to C:\Users\praj4\Documents\Unreal Projects\MyProject\Intermediate/Android/APK/libs/VrApi.jar
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): File D:\Unreal Engine 4.18.1\UE_4.18/Engine/Source/ThirdParty/Oculus/OVRPlugin/OVRPlugin/ExtLibs/SystemUtils.jar copied to C:\Users\praj4\Documents\Unreal Projects\MyProject\Intermediate/Android/APK/libs/SystemUtils.jar
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): ====05-Dec-17 6:06:49 PM====PERFORMING FINAL APK PACKAGE OPERATION================================================
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Creating rungradle.bat to work around commandline length limit (using unused drive letter Z:)
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Making .apk with Gradle...
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): 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')
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): 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')
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Incremental java compilation is an incubating feature.
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): 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')
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): File C:\Users\praj4\.android\repositories.cfg could not be loaded.
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): FAILURE: Build failed with an exception.
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): * What went wrong:
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): A problem occurred configuring project ':app'.
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): > Could not resolve all dependencies for configuration ':app:_debugApk'.
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)):    > A problem occurred configuring project ':permission_library'.
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)):       > You have not accepted the license agreements of the following SDK components:
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): [Android Support Repository].
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): 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.
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): * Try:
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): BUILD FAILED
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Total time: 34.635 secs
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): ERROR: cmd.exe failed with args /c "C:\Users\praj4\Documents\Unreal Projects\MyProject\Intermediate/Android/APK\gradle\rungradle.bat" :app:assembleDebug
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)):        (see C:\Users\praj4\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Unreal+Engine+4.18.1+UE_4.18\UAT_Log.txt for full exception trace)
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): AutomationTool exiting with ExitCode=1 (Error_Unknown)
 UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): BUILD FAILED
 PackagingResults: Error: Unknown Error][1]



alt text

[1]: /storage/temp/222619-12.png

I have accepted sdk license as weel as configured project settings it was working all good 2 week back on UE 16 please help.

Product Version: UE 4.18
Tags:
12.png (141.0 kB)
sdk.png (76.4 kB)
sdk1.png (67.8 kB)
more ▼

asked Dec 05 '17 at 12:43 PM in Packaging & Deployment

avatar image

Hyper_Nexus
15 2 4 7

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

I could fix it by updating the toolkit to 27. How: Goto this folder: \NVPACK\android-sdk-windows\tools and run "android.bat", there you should be able to update.

more ▼

answered Dec 07 '17 at 03:49 PM

avatar image

Ninjin
4.1k 88 38 151

avatar image Hyper_Nexus Dec 09 '17 at 02:56 PM

Thanx Very much I will try it right now.Will update the post later.

avatar image Hyper_Nexus Dec 09 '17 at 03:36 PM

Thanx Very Much Ninjin It worked out.It's been more than a week I am facing this error.Thanx very much. But l would like to ask how you figured that out.

avatar image Antidamage Feb 07 '18 at 04:06 AM

You say you updated "the toolkit". What is that? Does it have a specific name?

avatar image AndFlukey Feb 07 '18 at 03:46 PM

Just in case you didn't find it and others need the help..

C:\NVPACK\android-sdk-windows\tools click android.bat "Windows Batch File"

accept agreement as always and install

(comments are locked)
10|2000 characters needed characters left

Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): 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. UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html

is the error so need to accept the licence before you build.

more ▼

answered Dec 05 '17 at 12:48 PM

avatar image

stealthgun5
188 5 8 21

avatar image Hyper_Nexus Dec 05 '17 at 01:02 PM

I did, in fact, accept license agreement see images above.Thanx for answering.

avatar image stealthgun5 Dec 05 '17 at 01:11 PM

It does say that you need to accept them for them "Android Support Repository"

did you use this guide? https://docs.unrealengine.com/latest/INT/Platforms/Android/GettingStarted/index.html?utm_source=editor&utm_medium=docs&utm_campaign=msg_log

avatar image Hyper_Nexus Dec 05 '17 at 01:13 PM

yes, i did, in fact, see sdk.png file attached above.

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question