Skip to content

Commit 030d200

Browse files
committed
Add legacy android build to downloads
1 parent 505b1c5 commit 030d200

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

docs/src/content/docs/downloads/android.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,21 @@ The nightly version is also available on the stores. Please note that this versi
5858
<DownloadButton href="https://github.com/LinwoodDev/butterfly/releases/download/nightly/linwood-butterfly-android-x86_64.apk" title="APK (x86_64)"/>
5959
</CardGrid>
6060
</TabItem>
61+
<TabItem label="Nightly (Legacy)">
62+
<CardGrid>
63+
<DownloadButton href="https://github.com/LinwoodDev/butterfly/releases/download/nightly/linwood-butterfly-android-legacy.apk" title="APK (Universal)"/>
64+
<DownloadButton href="https://github.com/LinwoodDev/butterfly/releases/download/nightly/linwood-butterfly-android-arm-legacy.apk" title="APK (ARM)"/>
65+
<DownloadButton href="https://github.com/LinwoodDev/butterfly/releases/download/nightly/linwood-butterfly-android-arm64-legacy.apk" title="APK (ARM64)"/>
66+
<DownloadButton href="https://github.com/LinwoodDev/butterfly/releases/download/nightly/linwood-butterfly-android-x86_64-legacy.apk" title="APK (x86_64)"/>
67+
</CardGrid>
68+
</TabItem>
6169
</Tabs>
6270

6371
Read more about the nightly version of Butterfly [here](/community/nightly).
6472

6573
:::tip[What apk should I use?]
6674

6775
**Universal** should work on all devices. If you want a smaller apk, use the one that matches your device's architecture.
76+
**Legacy** apks are using the `useLegacyPackaging` flag on the build which compresses the native libraries to reduce the apk size. However, this can affect loading performance. Read more [in the android documentation](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/dsl/JniLibsPackagingOptions#uselegacypackaging).
6877

6978
:::

0 commit comments

Comments
 (0)