Description

AAR files may contain multiple architectures and Gradle is including them all instead of filtering them to only include the active architecture in the APK.

Steps to Reproduce

1. Create blank project
2. Enable Gradle
3. Package for Android
4. Go to the Intermediate/Android/APK/gradle/app/src/main/libs and create a arm64-v8a directory and copy any file into it with a .so extension
5. Go to the Intermediate/Android/APK/gradle directory and run "rungradle.bat :app:assembleDebug"
6. Open the Binaries/project-armv7-es2.apk as a zip and check if the libs contains the arm64-v8a (it should have been filtered out)

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Platform - Mobile
Affects Versions4.17
Target Fix4.17.2
Fix Commit3582608
CreatedAug 11, 2017
ResolvedAug 11, 2017
UpdatedSep 16, 2019
View Jira Issue