schwabe / ics-openvpn

OpenVPN for Android
3.29k stars 1.19k forks source link

Large App size during app bundle reease #1641

Closed Arunachalamkalimuthu closed 11 months ago

Arunachalamkalimuthu commented 11 months ago

To make issues more manageable, I would appreciate it if you fill out the following details as applicable:

  1. Android Version 33

Description of the issue

build configuration


  externalNativeBuild {
            cmake {

            }
        }
        ndk {
            abiFilters += listOf("x86", "x86_64", "armeabi-v7a", "arm64-v8a")
        }
        packagingOptions {
            jniLibs {
                useLegacyPackaging = true
            }
        }

Bundle configuration

  bundle {
        language {
            enableSplit = true
        }
        density {
            enableSplit = true
        }
        abi {
            enableSplit = true
        }
    }
Screenshot 2023-09-03 at 1 53 55 PM

lt)

Screenshot 2023-09-03 at 1 54 36 PM
schwabe commented 11 months ago

What is the actual problem here? These settings are already true by default. See also https://developer.android.com/guide/app-bundle/configure-base

Apart from language but enabling that won't make much difference and also break language switching.

Arunachalamkalimuthu commented 11 months ago

Its 35 MB app size, i wanted to reduce it, please help me on this

schwabe commented 11 months ago

That is what my app is in size. I don't plan to do anything about that.