无法在我的Mac上使用dex2jar:权限被拒绝 [英] Cannot use dex2jar on my mac: permission denied

查看:160
本文介绍了无法在我的Mac上使用dex2jar:权限被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我下载了dex2jar,现在尝试使用它,但是如果键入"sh d2j-dex2jar.sh",则会显示以下消息.

I downloaded dex2jar and now trying to use it, but if I type 'sh d2j-dex2jar.sh' it shows the following message.

d2j-dex2jar.sh: line 36: ./d2j_invoke.sh: Permission denied

起初,我认为该权限被拒绝,因为该程序需要root权限,因此我也尝试在命令中添加'sudo',但该命令也无效.我该如何解决这个问题?

At first I thought that the permission was denied because the programme required the root permission, so I also tried adding 'sudo' to the command, and it did not work either. How should I solve this problem?

推荐答案

您需要为sh脚本提供执行权限.

You need to provide execute permissions to your sh script.

要执行此操作: sudo chmod + x d2j_invoke.sh

这篇关于无法在我的Mac上使用dex2jar:权限被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆