更新时间:2022-06-20 10:04:38
右键点击'aapt '文件,属性 - >权限并选中'允许将文件作为程序执行'。然后关上窗户。在我的情况下,在给了'aapt'文件的许可之后,我必须在同一目录中给'dx'和'zipalign'文件同样的权限(... / build-tools / 21.1.2 /)
right click on 'aapt' file , properties -> permissions and check 'Allow executing file as program'. then close the window. 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 (.../build-tools/21.1.2/)
看看这是否能解决您的问题。
See if this solves your problem.