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

android7.0闪退问题java.lang.SecurityException: MODE_WORLD_READABLE no longer supported #3

Open
JackyKeke opened this issue Apr 29, 2018 · 2 comments

Comments

@JackyKeke
Copy link

在小米5s中安装后打开会发现异常报错
MODE_WORLD_READABLE no longer supported

MODE_WORLD_READABLE 模式已经被废弃。
getSharedPreferences("test" , MODE_PRIVATE);
MODE_WORLD_READABLE 模式应该换成 MODE_PRIVATE

@yang-zw
Copy link

yang-zw commented Jun 5, 2018

@magicbaby810
Copy link

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

3 participants