且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Android Studio 错误 13=Linux 中的权限被拒绝

更新时间:2022-06-20 10:04:50

我在 ubuntu 14.04 (LTS) 32 位上运行 android studio 1.0.2,我遇到了同样的问题.就去/home/suUs12/Android/Sdk/build-tools/21.1.2/"然后右键单击aapt"文件,属性 -> 权限并选中允许将文件作为程序执行".然后关闭窗口.

I'm running android studio 1.0.2 on ubuntu 14.04 (LTS) 32 bit and i had the same problem. just go to "/home/suUs12/Android/Sdk/build-tools/21.1.2/" and then right click on 'aapt' file , properties -> permissions and check 'Allow executing file as program'. then close the window.

就我而言,在为aapt"文件授予权限后,我必须为dx"和zipalign"授予相同的权限>' 文件位于同一目录 (/home/suUs12/Android/Sdk/build-tools/21.1.2/) 中,我能够使用 android studio 运行我的第一个应用程序.

In my case,after giving permission for 'aapt' file, I had to give the same permission for 'dx' and 'zipalign' files in the same directory (/home/suUs12/Android/Sdk/build-tools/21.1.2/) and I was able to run my first app using android studio.