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.
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
sections have absolute paths
7. remove the GearVR_UPL.xml change and delete the directories created for the test in step 4
How does TextureRenderTarget2D get TArray<uint8> type data?
How do I set a material as a post-processing material?
Why does the REMOVE method of map container remove elements have memory leaks?
UMG RichText not appear image when packaged
What is the difference between Camera and CineCamera?
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
How to delete some elements correctly when deleting an array loop?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-47952 in the post.
0 |
Component | UE - Platform - Mobile |
---|---|
Affects Versions | 4.17.1, 4.18 |
Target Fix | 4.17 |
Created | Aug 1, 2017 |
---|---|
Resolved | Aug 2, 2017 |
Updated | Sep 16, 2019 |