# JniLibsTestedApkPackaging

[View Source](https://cs.android.com/search?q=file:com/android/build/api/variant/JniLibsTestedApkPackaging.kt+class:com.android.build.api.variant.JniLibsTestedApkPackaging) Added in 8.4.0


```
interface JniLibsTestedApkPackaging : JniLibsTestedComponentPackaging, JniLibsApkPackaging
```

<br />

*** ** * ** ***

Build-time properties for packaging native libraries (.so) inside a tested APK `https://developer.android.com/reference/tools/gradle-api/9.4/com/android/build/api/variant/Component`.

## Summary

| ### Inherited properties |
|---|
| From [com.android.build.api.variant.JniLibsApkPackaging](https://developer.android.com/reference/tools/gradle-api/9.4/com/android/build/api/variant/JniLibsApkPackaging) |---|---| | `https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Property.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html>` | `https://developer.android.com/reference/tools/gradle-api/9.4/com/android/build/api/variant/JniLibsApkPackaging#useLegacyPackaging()` Whether to use the legacy convention of compressing all .so files in the APK. | | `https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Property.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html>` | `https://developer.android.com/reference/tools/gradle-api/9.4/com/android/build/api/variant/JniLibsApkPackaging#useLegacyPackagingFromBundle()` Whether to use the legacy convention of compressing all .so files when generating APKs from the app bundle. | |
| From [com.android.build.api.variant.JniLibsPackaging](https://developer.android.com/reference/tools/gradle-api/9.4/com/android/build/api/variant/JniLibsPackaging) |---|---| | `https://docs.gradle.org/current/javadoc/org/gradle/api/provider/SetProperty.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>` | `https://developer.android.com/reference/tools/gradle-api/9.4/com/android/build/api/variant/JniLibsPackaging#excludes()` The set of excluded patterns. | | `https://docs.gradle.org/current/javadoc/org/gradle/api/provider/SetProperty.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>` | `https://developer.android.com/reference/tools/gradle-api/9.4/com/android/build/api/variant/JniLibsPackaging#keepDebugSymbols()` The set of patterns for native libraries that should not be stripped of debug symbols. | | `https://docs.gradle.org/current/javadoc/org/gradle/api/provider/SetProperty.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>` | `https://developer.android.com/reference/tools/gradle-api/9.4/com/android/build/api/variant/JniLibsPackaging#pickFirsts()` The set of patterns for which the first occurrence is packaged in the APK. | |
| From [com.android.build.api.variant.JniLibsTestedComponentPackaging](https://developer.android.com/reference/tools/gradle-api/9.4/com/android/build/api/variant/JniLibsTestedComponentPackaging) |---|---| | `https://docs.gradle.org/current/javadoc/org/gradle/api/provider/SetProperty.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>` | `https://developer.android.com/reference/tools/gradle-api/9.4/com/android/build/api/variant/JniLibsTestedComponentPackaging#testOnly()` The set of test-only patterns. | |