[英]Android Studio not communicating with adb GLIBC … not found error
Android studio was communicating with adb normally. Android工作室正在与adb进行通信。 Right after updating platform-tools to version 23, android studio stopped communicating with adb.
在将平台工具更新到版本23之后,android studio停止了与adb的通信。
It displays the message: 它显示消息:
Unable to create Debug Bridge: Unable to start adb server: Unable to detect adb version, adb output: /data/programs/android-sdk/platform-tools/adb: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by /data/programs/android-sdk/platform-tools/adb) /data/programs/android-sdk/platform-tools/adb: /lib64/libc.so.6: version 'GLIBC_2.15' not found (required by /data/programs/android-sdk/platform-tools/adb)
无法创建调试桥:无法启动adb服务器:无法检测adb版本,adb输出:/ data / programs / android-sdk / platform-tools / adb:/lib64/libc.so.6:version'GLIBC_2.14 '找不到(需要/ data / programs / android-sdk / platform-tools / adb)/ data / programs / android-sdk / platform-tools / adb:/lib64/libc.so.6:version'GLIBC_2.15 '找不到(需要/ data / programs / android-sdk / platform-tools / adb)
I have Centos 6.5 (final) Kernel Linux 2.6.32.431.el6.x86_64 Gnome 2.28.2 我有Centos 6.5(最终)内核Linux 2.6.32.431.el6.x86_64 Gnome 2.28.2
I think the only solution to this problem is to upgrade the distribution because one can't simply upgrade GLIBC on the dist 我认为解决这个问题的唯一方法是升级发行版,因为不能简单地在dist上升级GLIBC
A temporary workaround is to rollback to a previous version of the platform tools. 临时解决方法是回滚到以前版本的平台工具。
The version introduced this is platform-tools_r23.1.0 . 引入的版本是platform-tools_r23.1.0 。 The last working version is platform-tools_r23.0.1 .
最后一个工作版本是platform-tools_r23.0.1 。
You can download the last working version from http://dl-ssl.google.com/android/repository/platform-tools_r23.0.1-linux.zip 您可以从http://dl-ssl.google.com/android/repository/platform-tools_r23.0.1-linux.zip下载最新的工作版本
Just extract it and replace the platform-tools folder inside your sdk folder. 只需解压缩并替换sdk文件夹中的platform-tools文件夹即可。
I found a temporary solution: I have a copy of the previous version of platform-tools folder. 我找到了一个临时解决方案:我有一个以前版本的platform-tools文件夹的副本。 I replaced the new folder with the older one.
我用旧文件夹替换了新文件夹。 back to normal.
恢复正常。
But I still wish someone finds a solution to make platform-tools v23 works on Centos machine. 但我仍然希望有人找到一个解决方案,让平台工具v23在Centos机器上运行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.