Closed kingmaf03 closed 2 years ago
add this to your manifest ` <service android:name="com.anchorfree.vpnsdk.vpnservice.AFVpnService" android:enabled="@bool/vpn_process_enabled" android:permission="android.permission.BIND_VPN_SERVICE" android:process="@string/vpn_process_name" android:exported="false">
</service>`
Thanks @abenkdh . It works.
I got this error when trying to install it.
com.anchorfree.vpnsdk.vpnservice.AFVpnService: Targeting S+ (version 31 and above) requires that an explicit value for android:exported be defined when intent filters are present