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

java.io.IOException: Cannot run program "security" (in directory "D:\GitHubPopular\android\app") #81

Open
haoqichongtian opened this issue Nov 12, 2018 · 2 comments

Comments

@haoqichongtian
Copy link

This process isn't exist in the git repository,why it need to be excute?
Caused by: java.io.IOException: Cannot run program "security" (in directory "D:\GitHubPopular\android\app"): CreateProcess error=2, 系统找不到指定的文件。 at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) at net.rubygrapefruit.platform.internal.DefaultProcessLauncher.start(DefaultProcessLauncher.java:25) ... 8 more Caused by: java.io.IOException: CreateProcess error=2,

@StevenZhangHl
Copy link

一样的问题,我的gradle报错就是这个
exec {
commandLine 'security', '-q', 'find-generic-password', '-a', currentUser, '-s', keyChain, '-w'
standardOutput = stdout
errorOutput = stderr
ignoreExitValue true
}
就是这段代码里的security找不到

@MelodyGoing
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