Description

Gradle AAR import paths need to be absolute instead of relative since the current work directory used to package Gradle is not the same as Ant.

Steps to Reproduce

1. Create project
2. Enable Gradle in Android project settings
3. Edit GearVR_UPL.xml and add:

<AARImports>
<insertValue value="repositories $S(PluginDir)/../../Source/ThirdParty/AndroidRepository"/>
<insertNewline/>
</AARImports>

4. make an empty Engine/Plugins/Runtime/Oculus/OculusVR/Source/ThirdParty/AndroidRepository/m2repository directory
5. Package for Android
6. Check the contents of Intermediate/Android/APK/gradle/app/aar-imports.gradle and make sure all the maven

{ url uri(' ') }

sections have absolute paths
7. remove the GearVR_UPL.xml change and delete the directories created for the test in step 4

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-47952 in the post.

0
Login to Vote

Fixed
ComponentUE - Platform - Mobile
Affects Versions4.17.14.18
Target Fix4.17
Fix Commit3569505
Main Commit3596628
Release Commit3569505
CreatedAug 1, 2017
ResolvedAug 2, 2017
UpdatedSep 16, 2019