# UseLegacyPackaging

> Whether to use the legacy convention of compressing all.so files in the APK. If null,.so files will be uncompressed and page-aligned when minSdk \>= 23.

## Definition

* **Type:** Property
* **Namespace:** [Unity.Android.Gradle](/engine/6000.7/script-reference/unity/android/gradle.md)
* **Assembly:** Unity.Android.Gradle

```csharp
public PropertyBoolean UseLegacyPackaging { get; }
```

### Remarks

For more information about the element, see Android's documentation: [useLegacyPackaging element](https://developer.android.com/reference/tools/gradle-api/com/android/build/api/dsl/JniLibsPackaging#useLegacyPackaging\(\))
