Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

App not connecting to vpn when install from play store #128

Open
prodaabes opened this issue Oct 11, 2022 · 1 comment
Open

App not connecting to vpn when install from play store #128

prodaabes opened this issue Oct 11, 2022 · 1 comment

Comments

@prodaabes
Copy link

Hello @ashraf789

I have completed successfully my vpn app based on your library: vpnLib, and the app worked correctly when install it from Android Studio, or generate signed apk, but when I upload the app to Google play store and install it, it is not able to connect to vpn.

Please help urgently.

Thank you.

@mbljoker
Copy link

mbljoker commented Nov 4, 2022

@prodaabes

  1. In your app's build.gradle file add:
compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

   # code add
    bundle {
        abi { enableSplit = false }
    }

  1. In the file gradle.properties add :
android.nonTransitiveRClass=true

# code add
android.bundle.enableUncompressedNativeLibs=false

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants