X-dea / flutter_vpn

Plugin to access VPN service for Flutter | Flutter 的 VPN 插件

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

App crash when connect

walkmandede opened this issue · comments

I got an error like below

D/VpnService(29680): prepare function with android vpn context is called for non knox vpn profile D/AndroidRuntime(29680): Shutting down VM E/AndroidRuntime(29680): FATAL EXCEPTION: main E/AndroidRuntime(29680): Process: com.kph.blahblah.projblah, PID: 29680 E/AndroidRuntime(29680): java.lang.NoSuchFieldError: No static field abc_ic_star_black_48dp of type I in class Landroidx/appcompat/R$drawable; or its superclasses (declaration of 'androidx.appcompat.R$drawable' appears in /data/app/com.kph.blahblah.projblah-T2BFCR1XczDdFC-6tKr9Lw==/base.apk) E/AndroidRuntime(29680): at org.strongswan.android.logic.CharonVpnService.buildNotification(CharonVpnService.java:377) E/AndroidRuntime(29680): at org.strongswan.android.logic.CharonVpnService.access$400(CharonVpnService.java:77) E/AndroidRuntime(29680): at org.strongswan.android.logic.CharonVpnService$2.run(CharonVpnService.java:327) E/AndroidRuntime(29680): at android.os.Handler.handleCallback(Handler.java:883) E/AndroidRuntime(29680): at android.os.Handler.dispatchMessage(Handler.java:100) E/AndroidRuntime(29680): at android.os.Looper.loop(Looper.java:237) E/AndroidRuntime(29680): at android.app.ActivityThread.main(ActivityThread.java:8167) E/AndroidRuntime(29680): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime(29680): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496) E/AndroidRuntime(29680): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100) D/ConnectivityManager(29680): requestNetwork; CallingUid : 11609, CallingPid : 29680 I/charon (29680): 00[LIB] loaded plugins: androidbridge charon android-log openssl fips-prf random nonce pubkey chapoly curve25519 pkcs1 pkcs8 pem xcbc hmac socket-default revocation eap-identity eap-mschapv2 eap-md5 eap-gtc eap-tls x509 I/charon (29680): 00[JOB] spawning 16 worker threads I/CharonVpnService(29680): charon started I/Process (29680): Sending signal. PID: 29680 SIG: 9 Lost connection to device.

Fixed in v0.12.0