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

android29报错 #47

Closed
zhaokeping opened this issue May 22, 2021 · 3 comments
Closed

android29报错 #47

zhaokeping opened this issue May 22, 2021 · 3 comments

Comments

@zhaokeping
Copy link

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

@ozyb
Copy link
Contributor

ozyb commented May 24, 2021

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
Copy link
Author

android29,没法设置低版本,因为高版本访问文件系统需要用到android:requestLegacyExternalStorage =“ true”
JNI检测到应用程序错误:fid == null

从com.xxx.model.EdgeStatus N2NService.getEdgeStatus( )

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

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

@ozyb
Copy link
Contributor

ozyb commented May 27, 2021

android29,没法设置低版本,因为高版本访问文件系统需要用到android:requestLegacyExternalStorage =“ true”
JNI检测到应用程序错误:fid == null

从com.xxx.model.EdgeStatus N2NService.getEdgeStatus( )

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

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

断点调试一下

@ozyb ozyb closed this as completed May 27, 2021
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

2 participants