shadowsocks-android icon indicating copy to clipboard operation
shadowsocks-android copied to clipboard

Issues in app bundle

Open saadullah2216 opened this issue 2 years ago • 1 comments

I want to create Android app bundle and its is successfully created, but when I install with bundle apks and try to connect, It always told "Cannot run program "/data/app/packageName/lib/arm64/libss-local.so" (in directory "/data/user_de/0/packageName/no_backup"): error=2, No such file or directory".

saadullah2216 avatar May 11 '23 07:05 saadullah2216

Add this to build.gradle.kts android section.

    // for app bundle build, package native .so libs into the bundle
    packagingOptions {
        jniLibs {
            useLegacyPackaging = true
        }
    }

codebylove avatar May 25 '23 11:05 codebylove