Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ else if ((flags & M_DEBUG) != 0)


} catch (IOException e) {
e.printStackTrace();
VpnStatus.logException("Error reading from output of OpenVPN process", e);
stopProcess();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,20 @@ public class VPNLaunchHelper {


private static String writeMiniVPN(Context context) {

String nativeAPI = NativeUtils.getNativeAPI();
/* Q does not allow executing binaries written in temp directory anymore */
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P)
return new File(context.getApplicationInfo().nativeLibraryDir, "libovpnexec.so").getPath();

String[] abis;
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP)
abis = getSupportedABIsLollipop();
else
//noinspection deprecation
abis = new String[]{Build.CPU_ABI, Build.CPU_ABI2};

String nativeAPI = NativeUtils.getNativeAPI();
//String nativeAPI = NativeUtils.getNativeAPI();
if (!nativeAPI.equals(abis[0])) {
VpnStatus.logWarning(R.string.abi_mismatch, Arrays.toString(abis), nativeAPI);
abis = new String[] {nativeAPI};
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Easy VPN Free
----
## UPDATE
Fixed crash on **Android 10**
## Introduction

Android application which lets you easily to connect to a number of free VPN server around the world with just a single tap!
Expand Down