gayanvoice / android-vpn-client-ics-openvpn

⭐ Create your Android VPN App by using Android Studio and publish to Google Play Store 🤖
https://gayanvoice.medium.com/develop-a-vpn-app-in-java-using-android-studio-6f1f2d66031e
MIT License
586 stars 318 forks source link

Unable to run cloned app in Andriod studio #25

Closed jacobkuriala closed 4 years ago

jacobkuriala commented 4 years ago

Thanks gayanvoice, for this coolness. I a new to android development. After reading the associated blog and instructions in git, I tried building and running the app on a local pixel 3 emulator and it failed, with the following issue.

Cannot build selected target ABI: x86, no suitable splits configured: armeabi-v7a, arm64-v8a;

I tried adding x86 to build.gradle and it then threw the error The application could not be installed: INSTALL_FAILED_NO_MATCHING_ABIS which seems to indicate a similar issue.

Is there something that has changed in the android environment that is causing this or am I doing something wrong? Appreciate any inputs

jacobkuriala commented 4 years ago

Hmm, it just started working on my pixel 3 (real device), still does not work on any of the emulators...

gayanvoice commented 4 years ago

Yeap, check your emulator whether if it is supported armeabi. Create a new emulator with armeabi support image.

jacobkuriala commented 4 years ago

Yeah I tried that. But ran into some other issues while trying to run. Anyway as I have one working device I should be good to go. Thanks for your help. BTW just curious, is there a reason why this app needs armeapi support?

gayanvoice commented 4 years ago

Ofcourse, armeabi runs the native code that creates the OpenVPN connection. Try it on a device.

jacobkuriala commented 4 years ago

Aha, I thought there might be a connection! Yeah I was able to get the app working on my device using a config to my own openvpn server. Great work and Thanks for ur help!

Raquibe commented 4 years ago

support@desk87.com

On Mon, Feb 3, 2020 at 11:01 AM Jacob Kattampilly notifications@github.com wrote:

Closed #25 https://github.com/gayanvoice/android-vpn-client-ics-openvpn/issues/25.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/gayanvoice/android-vpn-client-ics-openvpn/issues/25?email_source=notifications&email_token=AN4MJVXSJLSK5QL3HRXIFH3RA6QLZA5CNFSM4KO4CUS2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOWLN7NBI#event-3000759941, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN4MJVUSR7ECR576DCYNA4TRA6QLZANCNFSM4KO4CUSQ .