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

No process, TAP on connect button #20

Closed max4444 closed 4 years ago

max4444 commented 4 years ago

I get this error when i try to connect, and also that's what i found in logs.

CANNOT LINK EXECUTABLE "/data/user/0/com.buzz.vpn/cache/c_pie_openvpn.armeabi-v7a": library "libopenvpn.so" not found

Android 9

Thank you!

gayanvoice commented 4 years ago

Can you put a screenshot or paste the error message?

max4444 commented 4 years ago

Sure, Screenshot_1579330144

gayanvoice commented 4 years ago

Did you remove and install the app again? The file is not in the app. Check if the file exist?

max4444 commented 4 years ago

Yeah i removed and re-installed it a few times, Not sure where to look for it after the installation as the android is not rooted and may not show data files?

gayanvoice commented 4 years ago

The liboenvpn.so establishes OpenVPN connection. The file is missing in your app. Did you check if the file exists in the app?

max4444 commented 4 years ago

Yeah it's present. i'll check if files and libs are up to date and will get back to you

image

Raquibe commented 4 years ago

https://rr.lovevova.com/NTQwODQwOTM=

https://rr.lovevova.com/NTQwODQwOTM=

http://gg.gg/vovar

https://drive.google.com/file/d/1lO4H6dYCWY2ynnECOSkWRQgJupGsxWmT/view?usp=drivesdk

On Mon, Jan 20, 2020, 1:45 AM max4444 notifications@github.com wrote:

Yeah it's present. i'll check if files and libs are up to date and will get back to you

[image: image] https://user-images.githubusercontent.com/11603199/72687270-a1047f80-3b15-11ea-8b7a-c6af72722161.png

— 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/20?email_source=notifications&email_token=AN4MJVTVN7242MNC3NA5WCTQ6SUT5A5CNFSM4KIHI622YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJK2UDI#issuecomment-576039437, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN4MJVRPGY3OWY3MD2PYLV3Q6SUT5ANCNFSM4KIHI62Q .

gayanvoice commented 4 years ago

CANNOT LINK EXECUTABLE "libopenvpn.so" with app Bundles #1003 https://github.com/schwabe/ics-openvpn/issues/1003#issue-408886339 That sounds like your cmake/externalbuild fails to run

max4444 commented 4 years ago

Thank you.., tried the mentioned workarounds but with no luck.

gayanvoice commented 4 years ago

Dude, clone the project again using Android Studio

max4444 commented 4 years ago

I did it twice, still the same.., do i need to add more openvpn binaries to the apk?!

Can i have a working APK to see if it shows the same error or not? Just trying to see if there's something wrong with my compile process or that's related to the app. I'm already using some other opensource VPN apps, they are all working just fine.

gayanvoice commented 4 years ago

This one is an APK https://buzz-vpn-fast-free-unlimited-secure-vpn-proxy.en.uptodown.com/android check if the same error occurs with the APK! There is a problem similar to this with Android Q, but in Android 9 it works.

max4444 commented 4 years ago

Is that possible to include the filedetails somehow? The apk doesn't point to correct filedetails and shows up an certificate error.

And by the way, sorry for the typo in my first message, i'm using android 10 and not 9.

max4444 commented 4 years ago

I just tried it on android 9 too, on an AVD as well as a physical device. The physical device is working just find but the virtual one shows the same exact error message.

Sorry for asking but are the included openvpn code and binaries up to date?

Thank you

gayanvoice commented 4 years ago

There is a problem with the app, it does not work with Android 10. Need to fix it. You can run this code in an emulator. For that you need an image which support ARM architecture. You can put the certificate details as an array, but you can not update the certificates remotely.

max4444 commented 4 years ago

Any plans on updating for android 10?