switch-iot / hin2n

n2n support for mobiles
GNU General Public License v3.0
580 stars 125 forks source link

android29报错 #47

Closed zhaokeping closed 3 years ago

zhaokeping commented 3 years ago

android29,没法设置低版本,因为高版本访问文件系统需要用到android:requestLegacyExternalStorage="true" JNI DETECTED ERROR IN APPLICATION: fid == null in call to GetStaticObjectField from com.xxx.model.EdgeStatus N2NService.getEdgeStatus()

ozyb commented 3 years ago

android29,没法设置低版本,因为高版本访问文件系统需要用到android:requestLegacyExternalStorage="true" JNI DETECTED ERROR IN APPLICATION: fid == null in call to GetStaticObjectField from com.xxx.model.EdgeStatus N2NService.getEdgeStatus()

targetSdkVersion 28 和 高版本访问文件系统需要用到android:requestLegacyExternalStorage="true" 无关

zhaokeping commented 3 years ago

android29,没法设置低版本,因为高版本访问文件系统需要用到android:requestLegacyExternalStorage =“ true” JNI检测到应用程序错误:fid == null , 从com.xxx.model.EdgeStatus N2NService.getEdgeStatus( )

targetSdkVersion 28和高版本访问文件系统需要用到android:requestLegacyExternalStorage =“ true”无关

是的,我降到28了,还是报错,编译没问题,运行时vpn创建好后就闪退,分析不出 原因

ozyb commented 3 years ago

android29,没法设置低版本,因为高版本访问文件系统需要用到android:requestLegacyExternalStorage =“ true” JNI检测到应用程序错误:fid == null , 从com.xxx.model.EdgeStatus N2NService.getEdgeStatus( )

targetSdkVersion 28和高版本访问文件系统需要用到android:requestLegacyExternalStorage =“ true”无关

是的,我降到28了,还是报错,编译没问题,运行时vpn创建好后就闪退,分析不出 原因

断点调试一下