且构网

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

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

更新时间:2022-05-09 10:59:36

我正在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.