简体   繁体   English

在Linux Virtual Machin中配置Android Studio和SDK时遇到错误

[英]Getting an error While configuring Android studio and SDK in Linux Virtual Machin

While Configuring Android Studio in the Linux virtual Machine I am getting this error saying . 在Linux虚拟机中配置Android Studio时,出现此错误提示。

AAPT err(Facade for 1855057992):
    /scratch/gbuora/Android/Sdk/build-tools/26.0.2/aapt2:
    /lib64/libc.so.6: version `GLIBC_2.14' not found.
    (required by /scratch/gbuora/Android/Sdk/build-tools/26.0.2/aapt2)

It would be great If I can get any help on this. 如果能在这方面得到任何帮助,那将是非常好的。

It looks like you don't have a high enough version of libc6. 您似乎没有足够高的libc6版本。
From ask ubuntu : ask ubuntu

sudo apt-get update sudo apt-get更新
sudo apt-get install libc6 须藤apt-get install libc6

This issue is happening you must have installed GLIBC_2.16 version which is latest and while executing command for aapt in android sdk it is trying to find GLIBC_2.14 version. 发生此问题,您必须已安装了最新的GLIBC_2.16版本,并且在android sdk中执行aapt命令时,它正在尝试查找GLIBC_2.14版本。 So you will have to add the GLIBC_2.16 path in the system Path variable itself instead of putting in user path variable. 因此,您将不得不在系统Path变量本身中添加GLIBC_2.16路径,而不是放入用户path变量。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM