Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Only Have 32-Bit Native Code #25

Closed
saleho27 opened this issue May 11, 2019 · 10 comments
Closed

Only Have 32-Bit Native Code #25

saleho27 opened this issue May 11, 2019 · 10 comments

Comments

@saleho27
Copy link

Hello, when I tried to build my own app based on your project and upload it to Play Store, I got the warning that the app is not compliant with Google Play 64-bit requirement.

How to solve this issue? Do you have any suggestion that I can try?

Thanks in advanced
imageku

@yuger
Copy link
Owner

yuger commented May 13, 2019

change the folder name jniLibs/armeabi-v7a to jniLibs/arm64-v8a may work

@saleho27
Copy link
Author

I've tried that and unfortunately the app is force closed when I tried it in phone

@yuger
Copy link
Owner

yuger commented May 13, 2019

download APK https://f-droid.org/repo/de.blinkt.openvpn_158.apk and unzip it, copy the /arm64-v8a folder to this repo.

@saleho27
Copy link
Author

saleho27 commented May 13, 2019

Same, error in my phone (Vivo 1816) and this phone is 32 based on cpu-z

@saleho27
Copy link
Author

saleho27 commented May 13, 2019

2019-05-13 15:17:34.117 25739-25739/com.vpn.learn E/zygote64: No implementation found for java.lang.String de.blinkt.openvpn.core.NativeUtils.getNativeAPI() (tried Java_de_blinkt_openvpn_core_NativeUtils_getNativeAPI and Java_de_blinkt_openvpn_core_NativeUtils_getNativeAPI__) 2019-05-13 15:17:34.644 25739-25764/com.vpn.learn E/zygote64: No implementation found for java.lang.String de.blinkt.openvpn.core.NativeUtils.getNativeAPI() (tried Java_de_blinkt_openvpn_core_NativeUtils_getNativeAPI and Java_de_blinkt_openvpn_core_NativeUtils_getNativeAPI__) 2019-05-13 15:17:34.646 25739-25764/com.vpn.learn E/AndroidRuntime: FATAL EXCEPTION: Thread-5 Process: com.vpn.learn, PID: 25739 java.lang.UnsatisfiedLinkError: No implementation found for java.lang.String de.blinkt.openvpn.core.NativeUtils.getNativeAPI() (tried Java_de_blinkt_openvpn_core_NativeUtils_getNativeAPI and Java_de_blinkt_openvpn_core_NativeUtils_getNativeAPI__) at de.blinkt.openvpn.core.NativeUtils.getNativeAPI(Native Method) at de.blinkt.openvpn.VpnProfile.getConfigFile(VpnProfile.java:293) at de.blinkt.openvpn.VpnProfile.writeConfigFile(VpnProfile.java:564) at de.blinkt.openvpn.core.OpenVPNService.startOpenVPN(OpenVPNService.java:417) at de.blinkt.openvpn.core.OpenVPNService.access$200(OpenVPNService.java:62) at de.blinkt.openvpn.core.OpenVPNService$3.run(OpenVPNService.java:398) at java.lang.Thread.run(Thread.java:764)

@yuger
Copy link
Owner

yuger commented May 13, 2019

because this repo code is older than apk, try to find the order apk of ics-openvpn

@saleho27
Copy link
Author

Yup I think so, could you please inform me what ics open vpn version used in this repo? I will try to look at the older version

@yuger
Copy link
Owner

yuger commented May 13, 2019

0.6.x forgot it

@saleho27
Copy link
Author

Hello bro, I've found it from apk pure, it is 0.6.73 and I've tested it in emulator too. It works very well...

Thanks a lot bro, I will close this issue.

Thank you!!!

@aries255
Copy link

aries255 commented Jul 24, 2019

Where i should copy the arm64-v8a. in the jniLibs folder? or in libs folder?

Do I have to add this?
ndk {
abiFilters "armeabi-v7a", "x86","arm64-v8a","x86_64"
}

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

No branches or pull requests

3 participants