Android Studio error 13=permission denied in linux

前端 未结 14 2116
有刺的猬
有刺的猬 2021-02-06 03:53

i am using android studio latest version in linux(elementary luna to be specific). I installed jdk, android studio and sdk successfully, android studio opens us perfectly and ev

14条回答
  •  隐瞒了意图╮
    2021-02-06 04:10

    The permissions problem with file not found with aapt wasn't with this file itself but with the *.so files it tries to use. The first thing to do which I didn't at first was run the following sudo yum install zlib.i686 ncurses-libs.i686 bzip2-libs.i686 to get the necessary 32 bit *.so files installed. I found out about the missing *.so files by running aapt outside the studio. I also found there were a number of files that were read or read write only that needed to be executable in these directories. android-studio/bin android-studio/jre/bin android-studio/jre/jre/bin android-studio/gradle/gradle-2.14.1/bin

    The fsnotifier files and the 2 *.sh file in the first bin directory. All the files in the two jre directories and the gradle file in the last directory needed to be chmod 755. After I did that I no longer get the pop up box about the fsnotifier and the gradle build doesn't get the permission error. Running as root doesn't help when the problem is with files not being executable.

提交回复
热议问题