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"

accept the license agreements

I already accept the lisance agreements in the project settings-android tab in the accept button event its not clickable again but in the build i get this error:

FAILURE: Build failed with an exception. UATHelper: Packaging (Android (ATC)): What went wrong: UATHelper: Packaging (Android (ATC)): A problem occurred configuring project ':app'. UATHelper: Packaging (Android (ATC)): > Could not resolve all dependencies for configuration ':app:_debugApk'. UATHelper: Packaging (Android (ATC)): > A problem occurred configuring project ':permission_library'. UATHelper: Packaging (Android (ATC)): > You have not accepted the license agreements of the following SDK components: UATHelper: Packaging (Android (ATC)): [Android Support Repository]. UATHelper: Packaging (Android (ATC)): 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 (ATC)): 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 (ATC)): Try: UATHelper: Packaging (Android (ATC)): Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. UATHelper: Packaging (Android (ATC)): BUILD FAILED

and lastly this:

UATHelper: Packaging (Android (ATC)): ERROR: cmd.exe failed with args /c "C:\Users\Pelin\Desktop\MyProject\Intermediate/Android/APK\gradle\rungradle.bat" :app:assembleRelease

Product Version: UE 4.18
Tags:
more ▼

asked Oct 25 '17 at 01:29 PM in Packaging & Deployment

avatar image

tranduil
83 7 17 19

avatar image Elvenhood Oct 25 '17 at 05:08 PM

Same problem. I build my project with Ant but my game stopped and crashing. I build with Gradle and get this error.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

4 answers: sort voted first

try to delete the "android-sdk-license" file in your android-sdk-windows / licenses directory. and accepts the sdk license again in project settings -> android. if the problem persists, disable "enable grade instead of ant" in project settings -> android

more ▼

answered Oct 26 '17 at 03:07 PM

avatar image

IppolitoGermer
164 8 11 18

avatar image tranduil Oct 27 '17 at 07:57 AM

I tryed it several times what you said and with different android export settings even development build doesnt matter every time i get this error i even delete entire nvpack and redownload but none of it seems working

avatar image cgiteach Oct 27 '17 at 11:33 AM

Same problem on my end. Also did a clean install of the CodeWorksforAndroid-1R6u1-windows, and refreshed the license several times. Also now apps that used to package for GearVR under 4.17 don't seem to work even with ANT on 4.18.

avatar image Juanmilanese Oct 31 '17 at 08:29 PM

Any Luck with this? I'm having the same Issue

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].

Never had this problem in 4.16 and 4.17

avatar image IppolitoGermer Nov 01 '17 at 07:37 PM

try the @Rusel2050 solution

  1. Downloaded Android Studio

  2. Installed Android Studio. She found a folder with the Android SDK installed, I did not change it.

  3. Removed the license from / android-sdk-windows / licenses.

  4. Accepted the license in Ue4 again.

avatar image uzywmaly Nov 16 '17 at 01:39 PM

Removing the license file didn’t work for me, but forcing the use of Ant through the setting you suggested did the trick. Thanks.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

You can do it this way

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's worked

more ▼

answered Nov 18 '17 at 11:03 AM

avatar image

USER395425
10 2 7

avatar image andrewtek Nov 18 '17 at 10:08 PM

This worked. I rebuilt my PC this week and was running into this error when trying to launch on GearVR. Using the command line you provided solved the problem for me. Thanks!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

got the same problem, open the license file in android sdk with notepad, it should have only a key like this 8933bad161af4178b1185d1a37fbf41ea5269c55, but when you accept the sdk license it puts a white line before and have error.

just remove the white line

more ▼

answered Nov 28 '17 at 02:39 PM

avatar image

Carlo Gioventù
6 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
more ▼

answered Nov 27 '17 at 01:57 PM

avatar image

Markgearvr
1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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