共有ライブラリのロード中にエラーが発生しました:libz.so.1



Error While Loading Shared Libraries



Linuxカーネルをコンパイルする場合:/ home / catia / android-sdks / platform-tools / aapt:共有ライブラリのロード中にエラーが発生しました:

libz.so.1:共有オブジェクトファイルを開くことができません:そのようなファイルまたはディレクトリはありません




/home/catia/android-sdks/platform-tools/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory sudo apt-get update sudo apt-get install lib32z1
|_+_|
I found a solution for a long time in Baidu and it still didn't work. I turned to google and checked it. It was solved in a few minutes. Now I have to admit: Google is more powerful than Baidu!
In fact, this problem is that your 64-bit operating system does not have 32-bit libraries, and the Android SDK requires 32-bit support. If it is not installed, it can only report the above error!
Open the terminal and run the following command:
 

https://blog.csdn.net/i_love_lm/article/details/17269125