7
votes

Android studio was communicating with adb normally. Right after updating platform-tools to version 23, android studio stopped communicating with 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)

I have Centos 6.5 (final) Kernel Linux 2.6.32.431.el6.x86_64 Gnome 2.28.2

2
Same here! why did they compile it with a high version :( I think the only solution to this problem is to upgrade the distribution because one can't simply upgrade GLIBC on the dist or the easiest way is to rollback to a previous version of the platform tools. - Ahmed Hegazy

2 Answers

15
votes

I think the only solution to this problem is to upgrade the distribution because one can't simply upgrade GLIBC on the dist

A temporary workaround is to rollback to a previous version of the platform tools.

The version introduced this is platform-tools_r23.1.0. The last working version is 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

Just extract it and replace the platform-tools folder inside your sdk folder.

2
votes

I found a temporary solution: I have a copy of the previous version of platform-tools folder. 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.