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"

Android Support Repository license BUG


I've been trying to package a basic Gear VR app using UE4.18 with no luck using both shipping and distribution builds under Grade and ANT. The only thing that worked insofar is ANT on a development packaging. I've installed the sdk and other tools from the provided resources from the UE4 installer and accepted the license there and via the project settings. I get this error when performing the final .apk:

File C:\Users------.android\repositories.cfg could not be loaded. UATHelper: Packaging (Android (ASTC)): FAILURE: Build failed with an exception. UATHelper: Packaging (Android (ASTC)): * What went wrong: UATHelper: Packaging (Android (ASTC)): A problem occurred configuring project ':app'. UATHelper: Packaging (Android (ASTC)): > Could not resolve all dependencies for configuration ':app:_debugApk'. UATHelper: Packaging (Android (ASTC)): > A problem occurred configuring project ':permission_library'. UATHelper: Packaging (Android (ASTC)): > You have not accepted the license agreements of the following SDK components: UATHelper: Packaging (Android (ASTC)): [Android Support Repository].

I think it's something to do with the way the Android Support Repository gets distributed as per: https://developer.android.com/topic/libraries/support-library/setup.html

Note that I'm missing an repositories.cfg file in my Users documents so I think the licensing issue is a false error there.

Regarding packaging with ANT, shows a bunch of warnings similar to this report: https://answers.unrealengine.com/questions/718338/cant-package-empty-android-project-for-shipping.html

As a final note, I've been packaging apps for Gear for half a dozen UE4 versions now and I'm getting these errors on stock, empty projects. Any help is much appreciated.

Product Version: UE 4.18
more ▼

asked Oct 27 '17 at 01:24 PM in Packaging & Deployment

avatar image

6 2 4 7

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

1 answer: sort voted first

I was able to solve this issue using a solution from another similar question:

  1. Downloaded Android Studio

  2. Installed Android Studio. It found the 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.

This is from a comment on this page: https://answers.unrealengine.com/questions/718698/accept-the-license-agreements.html

more ▼

answered Nov 02 '17 at 03:14 AM

avatar image

18 4 6

(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