You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AAR support in Unity varies by version and build system, this patch
adds support for shared libraries (.so) files in AARs using a variety
of methods:
* Unity 4:
- Internal (default) build system
Shared libraries in the jni folder of AARs are supported but the
"jni" folder is ignored when AARs are expanded / exploded so this
copies shared libraries to the "lib" folder in the expanded AAR
where they're included in the built APK.
* Unity <= 5.4
- Internal (default) build system
Similar behavior as Unity 4 except only AARs with shared libs or
that require variable expansion are exploded.
* Unity 5.5
- Internal (default) build system
Same behavior as Unity 5.4
- Gradle / Android Studio
Settings dialog can disable expansion / explosion of AARs as
they're supported natively by the Android Gradle build system.
The settings dialog is required to configure this behavior as
Unity does not set the applicationId variable in the generated
build.gradle.
In addition:
* Enabled the Android Resolver settings dialog when any platform is
selected.
* Made it possible to configure the target folder for AARs / exploded
AAR directories. Though this turned up a bug in Unity's Android
library search process which fails to find libraries in subdirectories
so the functionality is disabled at the moment.
googlesamples#34googlesamples#29
BUG=34667843
Change-Id: I843b89ffa614ee2b3508c0a9e0e8a6c025a1668c
0 commit comments