Open Angel0726 opened 2 years ago
Check this link: https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/GCC_4_9_DEPRECATION.md. Google had removed gcc-4.9 totally. However you can roll back to this commit: 74ea98e3cc5a4b49be2df0f070b814fff7ab140b
in Git. It works for me!
$ git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9 toolchain
$ cd toolchain
$ git reset --hard 74ea98e3cc5a4b49be2df0f070b814fff7ab140b
$ cd ..