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

Permission denied #29

Open
Noahs007 opened this issue Jul 1, 2023 · 2 comments
Open

Permission denied #29

Noahs007 opened this issue Jul 1, 2023 · 2 comments

Comments

@Noahs007
Copy link

Noahs007 commented Jul 1, 2023

targetSdk 28 是可以正常运行,但是调整为 targetSdk 32 后,会出现 "Permission denied",应该是 Android 11 后权限更严格了,不知道有没有办法解决。

@tumuyan
Copy link
Owner

tumuyan commented Jul 1, 2023

Android高版本不允许直接在data分区运行cli程序,提高targetSDK有两个方法:

  1. 研究termux是如何做到运行cli程序的,然后给termux套gui
  2. 把运行cli程序改为jni调用
    搞起来都挺麻烦。如果你感兴趣可以试试看

@yykkxx
Copy link

yykkxx commented Jul 27, 2023

把termux的chmod拷贝过来

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