0

当我取消 gradle 时,它​​显示以下行。

信息:Gradle 任务 [:app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar, :app:compileDebugAndroidTestSources, :app:compileDebugUnitTestSources, :app:compileDebugSources]

错误:java.io.IOException:错误=13,权限被拒绝

4

2 回答 2

0

只需转到/home/suUs12/Android/Sdk/build-tools/21.1.2/然后右键单击aapt文件,properties -> permissions然后检查Allow executing file as program。然后关闭窗口。

希望这会有所帮助

于 2017-10-31T05:57:12.127 回答
0

使用 vpn 并重试。我曾经遇到过这个问题,它对我有用。

于 2017-10-30T18:27:32.137 回答